/* SiteHub Legal Tools V3 — expressive 3D, inspired by approved concept #3.
   Vanilla CSS: responsive, reduced motion, no external dependencies. */
:root{color-scheme:dark;--ink:#f7f9ff;--muted:#c6ceeb;--subtle:#9facd4;--edge:rgba(218,231,255,.22);--blue:#1a285b;--pane:rgba(29,43,90,.56);--purple:#9769ff;--violet:#8155ed;--cyan:#70d6ff;--pink:#fb72e7;--shadow:0 20px 55px rgba(4,11,39,.38);--field:rgba(16,28,65,.42)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;font:15px/1.5 Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;background:#0c183a;color:var(--ink)}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}input,textarea,select{min-width:0}input:focus-visible,textarea:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline:3px solid #a7eaff;outline-offset:3px}svg{display:block}.ico{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}.boot{padding:20vh 20px;text-align:center;font-size:32px;font-weight:800}.boot span{color:#b699ff}
.site{position:relative;isolation:isolate;min-height:100vh;overflow:hidden;background:radial-gradient(ellipse 80% 42% at 90% 99%,rgba(198,62,225,.6),transparent 67%),radial-gradient(ellipse 82% 42% at 0 57%,rgba(20,170,255,.35),transparent 66%),radial-gradient(ellipse 90% 70% at 89% -20%,rgba(69,76,197,.56),transparent 72%),linear-gradient(140deg,#0b1737 0%,#1c2857 53%,#1f316e 100%)}
.site:before{content:"";position:absolute;inset:-70px -100px auto auto;width:65%;height:600px;z-index:-1;pointer-events:none;background:radial-gradient(ellipse at 68% 22%,rgba(79,99,255,.38),transparent 68%);filter:blur(18px)}
.aurora{pointer-events:none;position:absolute;z-index:-1;border-radius:50%;filter:blur(4px)}.aurora.one{width:460px;height:265px;left:-130px;top:312px;background:radial-gradient(ellipse,rgba(24,193,243,.27),transparent 71%);transform:rotate(-20deg)}.aurora.two{width:650px;height:400px;right:-260px;top:390px;background:radial-gradient(ellipse,rgba(178,99,252,.4),transparent 68%)}
.shell{width:min(1400px,calc(100% - 100px));margin:0 auto}.site-header{height:80px;position:relative;z-index:10;border-bottom:1px solid rgba(255,255,255,.10);background:rgba(17,27,59,.1)}.top-inner{height:100%;display:flex;align-items:center;gap:42px}.brand{display:flex;flex:none;align-items:center;width:185px;height:68px;overflow:hidden;position:relative}.brand img{width:184px;height:auto;display:block;mix-blend-mode:screen;filter:brightness(1.1);flex:none}.top-links{display:flex;gap:32px;align-items:center;white-space:nowrap;flex:1;justify-content:center}.top-links button{background:none;border:0;padding:10px 2px;font-size:13px;font-weight:600;color:#cdd7fb;transition:color .2s}.top-links button:hover,.top-links button.selected{color:white}.top-links button.selected:after{content:"";height:2px;width:100%;display:block;margin-top:4px;background:linear-gradient(90deg,transparent,#9c73fc,transparent)}.right-actions{display:flex;align-items:center;gap:12px;white-space:nowrap}.minibtn{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid rgba(241,241,255,.17);border-radius:13px;background:rgba(255,255,255,.08);color:#f6f8ff;padding:10px 15px;min-height:41px;font-weight:650;font-size:13px;transition:background .2s,transform .2s}.minibtn:hover{background:rgba(255,255,255,.15);transform:translateY(-1px)}.minibtn .ico{width:16px;height:16px}.minibtn.accent{border-color:rgba(243,225,255,.38);background:linear-gradient(105deg,#5f56d0,#9265eb 85%);box-shadow:0 6px 25px #6b4de34d}.minibtn.accent:hover{background:linear-gradient(105deg,#7461f0,#a77aff)}.langbox{display:flex;gap:5px;align-items:center}.langbox select{font-size:12px;border:0;outline:none;color:white;background:transparent;font-weight:750;cursor:pointer}.langbox option{color:#1b2551}
.hero{display:grid;grid-template-columns:1.03fr 1fr;align-items:center;position:relative;min-height:306px;padding:39px 0 19px}.hero-copy{z-index:1;position:relative}.eyebrow{font-size:12px;letter-spacing:3px;font-weight:850;color:#b6c8fb;margin:0 0 12px}.hero h1{font-size:clamp(43px,5.15vw,73px);letter-spacing:-3.7px;font-weight:780;line-height:1.05;margin:0 0 17px;max-width:670px;text-wrap:balance}.hero h1 span{display:block;color:#e2e8ff}.hero p{color:#cbd5f0;font-size:16px;line-height:1.58;max-width:550px;margin:0}.hero-hints{margin-top:23px;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.mini-flag{display:inline-flex;align-items:center;gap:8px;color:#d3dcff;font-size:12px;font-weight:570}.mini-flag i{width:7px;height:7px;border-radius:50%;background:#72efd0;box-shadow:0 0 15px #63ffe0}.hero-hints .sep{height:15px;border-left:1px solid #a8b6e67a}
/* 3D vector/CSS illustration, no PNG or remote graphics. */
.hero-art{position:relative;width:100%;height:295px;perspective:880px;transform-style:preserve-3d;overflow:visible;pointer-events:none}.hero-art .blob{position:absolute;border-radius:52% 48% 53% 45%;filter:blur(1px);transform:rotate(-17deg)}.blob.a{width:470px;height:190px;left:3%;top:81px;background:radial-gradient(ellipse at 48% 18%,rgba(132,195,255,.65),rgba(72,117,225,.29) 45%,rgba(122,68,251,.1) 70%,transparent 72%);box-shadow:inset -13px -22px 32px rgba(68,49,221,.4),-27px 27px 60px rgba(82,147,250,.14)}.blob.b{width:375px;height:177px;right:-12%;bottom:0;background:radial-gradient(ellipse at 46% 5%,rgba(159,141,255,.5),rgba(110,72,255,.3) 53%,transparent 75%);transform:rotate(31deg)}.blob.c{width:300px;height:130px;top:23px;right:20%;background:radial-gradient(ellipse,rgba(120,174,252,.24),transparent 72%)}
.orbital{position:absolute;width:570px;height:220px;left:0;top:46px;border-radius:50%;border:1px solid #9acbff4c;box-shadow:0 0 13px #7ea5ff35,inset 0 0 20px #b294fc15;transform:rotate(-24deg) rotateY(-28deg)}.orbital.second{width:510px;height:175px;left:65px;top:88px;transform:rotate(26deg) rotateY(26deg);border-color:#c8b8ff2f}
.tile-shadow{position:absolute;left:28%;top:102px;width:310px;height:185px;background:radial-gradient(ellipse,#815dff8f,transparent 71%);filter:blur(37px);transform:rotate(-17deg)}.tile-3d{position:absolute;left:30%;top:21px;width:230px;height:200px;border-radius:38px;transform:rotate(-18deg) rotateY(-19deg) rotateX(17deg);transform-style:preserve-3d;animation:float-tile 6s ease-in-out infinite;filter:drop-shadow(10px 23px 23px #311e8e8e)}.tile-3d:before{content:"";position:absolute;inset:11px -5px -16px 11px;border-radius:35px;background:linear-gradient(130deg,#6d71fc88,#7e62ebad 43%,#37329ed9);transform:translateZ(-15px);box-shadow:0 15px 26px #4a37df91}.tile-face{height:100%;width:100%;border-radius:38px;border:1.4px solid #e0e7ffb6;background:linear-gradient(134deg,#9ac5ffb3 0%,#99b8ff65 21%,#8a88eb4d 52%,#6c5ee9af 100%);box-shadow:inset 8px 10px 22px #cce6ff93,inset -13px -13px 26px #3c5bd47a,0 1px 19px #b5baffb2,0 0 50px #627cf64a;position:relative;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(12px);transform:translateZ(1px)}.tile-face:before{content:"";position:absolute;inset:13px;border:1px solid #cde7ff6c;border-radius:28px}.tile-face .scales{width:128px;height:128px;stroke:#e8f6ff;fill:none;stroke-width:2.5;filter:drop-shadow(0 0 8px #d6f2ff) drop-shadow(0 0 11px #8bbcff);transform:rotate(7deg)}.light-spark{position:absolute;width:8px;height:8px;border-radius:50%;background:#fff;box-shadow:0 0 16px 7px #b3c8ff;left:73%;top:17%;animation:twinkle 4s infinite}
@keyframes float-tile{0%,100%{transform:translateY(0) rotate(-18deg) rotateY(-19deg) rotateX(17deg)}50%{transform:translateY(-15px) rotate(-14deg) rotateY(-14deg) rotateX(17deg)}}@keyframes twinkle{50%{opacity:.4;transform:scale(.7)}}
.tool-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;position:relative;z-index:2;margin:4px 0 25px}.tool-tab{min-height:85px;border-radius:17px;background:linear-gradient(148deg,rgba(83,101,158,.37),rgba(43,63,113,.34));border:1px solid rgba(217,231,255,.22);box-shadow:0 8px 24px rgba(9,21,58,.16),inset 0 1px 0 #ffffff15;color:#eff4ff;display:flex;gap:14px;align-items:center;padding:16px 15px;text-align:left;transition:transform .22s,border-color .22s,box-shadow .22s,background .22s;backdrop-filter:blur(15px);min-width:0}.tool-tab:hover{transform:translateY(-4px);border-color:#a6b4ff90;box-shadow:0 12px 26px rgba(7,15,48,.28)}.tool-tab.active{border-color:#aaceff9c;background:linear-gradient(120deg,#6d65e9e8,#866ef9c9 58%,#6585eda3);box-shadow:0 9px 23px #554bdf7d,inset 0 1px 0 #fff6,0 0 15px #7775ff42}.tab-ico{width:43px;height:43px;display:grid;place-items:center;flex:none;border-radius:13px;background:rgba(111,106,225,.15);color:#c7b0ff}.tab-ico .ico{width:28px;height:28px;stroke-width:1.8}.tool-tab.active .tab-ico{background:#826af6a8;color:#f4eaff;box-shadow:0 0 22px #ac88ff77}.tool-tab .label{display:flex;flex-direction:column;gap:4px;min-width:0}.tool-tab strong{font-size:15px;font-weight:720;line-height:1.2}.tool-tab small{font-size:11px;color:#c2ceed;line-height:1.28}.tool-tab.active small{color:#ebebff}
.workspace{display:grid;grid-template-columns:1.05fr .96fr;gap:23px;align-items:stretch;margin-bottom:22px;position:relative}.glass{position:relative;border-radius:27px;border:1px solid rgba(206,224,255,.32);box-shadow:var(--shadow),inset 0 1px 0 rgba(255,255,255,.18);backdrop-filter:blur(27px);-webkit-backdrop-filter:blur(27px);overflow:hidden;background:linear-gradient(140deg,rgba(93,114,177,.35),rgba(43,73,135,.38))}.form-panel{padding:27px 29px 26px;min-height:337px}.form-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 120% 100% at 1% 95%,rgba(76,153,242,.24),transparent 65%);pointer-events:none}.result-panel{padding:27px 31px;min-height:337px;background:radial-gradient(ellipse at 95% 100%,rgba(200,92,246,.46),transparent 57%),linear-gradient(135deg,rgba(79,79,157,.5),rgba(52,73,158,.39))}.result-panel:before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 4% 2%,rgba(183,128,255,.16),transparent 70%);pointer-events:none}.panel-title{position:relative;display:flex;gap:14px;align-items:center;margin-bottom:22px}.section-symbol{height:47px;width:47px;flex:none;display:grid;place-items:center;border-radius:15px;background:linear-gradient(145deg,#7355dcaa,#4d529da0);box-shadow:0 4px 22px #a069ff37;color:#d8c7ff}.section-symbol .ico{width:26px;height:26px}.panel-title h2{font-weight:720;font-size:21px;letter-spacing:-.5px;margin:0;line-height:1.2}.panel-title p{font-size:12px;color:#bdc9f0;margin:3px 0 0}.result-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative}.result-heading .panel-title{margin-bottom:20px}.result-heading .section-symbol{width:35px;height:35px;border-radius:50%;background:linear-gradient(140deg,#27bca9,#3974b5);color:#e7fff9}.result-heading .section-symbol .ico{width:20px;height:20px}.tool-icon-btn{border:1px solid #d6e3ff47;background:#ffffff14;color:#e5ecff;border-radius:11px;width:34px;height:34px;display:grid;place-items:center}.tool-icon-btn .ico{width:18px;height:18px}
.controls{position:relative}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.field-grid.triple{grid-template-columns:repeat(3,1fr)}.field{display:block;min-width:0;margin:0 0 14px}.field>span{font-size:12px;font-weight:650;color:#f5f5ff;display:flex;align-items:center;gap:5px;margin:0 0 7px}.field>input,.field>select,.field>textarea,.field .input-wrap{width:100%;border-radius:12px;min-height:44px;border:1px solid rgba(211,228,255,.35);background:rgba(19,34,75,.5);box-shadow:inset 0 1px 6px #06102a44;color:white;padding:10px 13px;outline:none;transition:border-color .2s,background .2s}.field textarea{min-height:80px;resize:vertical}.field>input:focus,.field>select:focus,.field>textarea:focus{border-color:#a9baff;background:rgba(29,46,95,.8)}.field input::placeholder,.field textarea::placeholder{color:#a1b0d0}.field select option{color:#17204a;background:#edf1ff}.field .input-wrap{display:flex;align-items:center;padding:0 9px 0 13px}.field .input-wrap input{border:0;outline:none;color:#fff;background:transparent;width:100%;min-height:42px}.field .input-wrap .ico{width:18px;height:18px;opacity:.75}.field .suffix{color:#cfd8f1;font-weight:700;font-size:12px;padding-left:10px}.hint{display:flex;align-items:flex-start;gap:7px;color:#b8c4eb;font-size:11px;line-height:1.5;margin-top:5px}.hint .ico{height:16px;width:16px;margin-top:1px}.checkline{display:inline-flex;align-items:center;gap:9px;cursor:pointer;font-size:12px;color:#eff2ff;margin:4px 0 16px}.checkline input{appearance:none;width:35px;height:21px;border-radius:20px;background:#516188;border:1px solid #a6b4ee70;position:relative;cursor:pointer;transition:background .2s;flex:none}.checkline input:before{content:"";position:absolute;top:3px;left:3px;width:13px;height:13px;border-radius:50%;background:white;transition:transform .2s;box-shadow:0 2px 3px #101d6c}.checkline input:checked{background:linear-gradient(90deg,#5c62ed,#ab5af8)}.checkline input:checked:before{transform:translateX(14px)}.form-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-top:3px}.primary{border:1px solid #c2a9ff7a;border-radius:13px;background:linear-gradient(105deg,#6356de,#9f61ff);box-shadow:inset 0 1px 0 #fff5,0 6px 21px #654ae488;color:#fff;min-height:43px;padding:11px 21px;display:inline-flex;align-items:center;justify-content:center;gap:10px;font-size:13px;font-weight:740;transition:transform .2s,filter .2s}.primary:hover{transform:translateY(-2px);filter:brightness(1.11)}.primary .ico{width:16px;height:16px}.ghost{background:#ffffff14;color:#eaf0ff;border:1px solid #ffffff3b;padding:10px 14px;border-radius:12px;min-height:42px;display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:700}.ghost:hover{background:#ffffff24}.ghost .ico{width:16px;height:16px}.chipbtn{border:1px solid #bcb4ff50;padding:7px 11px;border-radius:10px;font-size:12px;color:#e8dfff;background:#ffffff12}.chipbtn:hover{background:#ffffff28}
.result-value{font-size:clamp(43px,5.2vw,70px);line-height:1;letter-spacing:-2.7px;font-weight:780;margin:20px 0 8px;text-shadow:0 1px 15px #ffffff22;position:relative;z-index:1}.result-value.money{font-size:clamp(36px,3.55vw,51px);letter-spacing:-1.9px}.result-value span{font-size:.38em;letter-spacing:-.5px;color:#dbe4ff}.result-sub{font-size:13px;color:#dee3fa;margin:3px 0 22px;position:relative}.result-calendar{position:absolute;right:4px;top:101px;height:154px;width:175px;perspective:500px;pointer-events:none;opacity:.93}.cal-3d{transform:rotateY(-24deg) rotateX(20deg) rotate(-7deg);width:120px;height:133px;position:absolute;left:34px;top:8px;border:2px solid #cdf1ff87;border-radius:15px;background:linear-gradient(140deg,#b1e7ff8c,#8789fb80 48%,#aa71ef5e);box-shadow:9px 12px 2px #624ac073,18px 24px 30px #383da478,0 0 23px #83dcff99,inset 0 0 25px #96d5ff70;animation:float-cal 7s ease-in-out infinite}.cal-top{height:30px;border-radius:13px 13px 0 0;background:linear-gradient(90deg,#66cffb,#8d79e9);border-bottom:1px solid #fff8}.cal-rings{position:absolute;top:-11px;left:23px;display:flex;gap:52px}.cal-rings i{width:12px;height:22px;border:3px solid #c6f3ff;border-radius:8px;background:#6697ef;box-shadow:0 0 7px #9df6ff}.cal-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;padding:12px 13px}.cal-grid span{height:10px;border-radius:3px;background:#d7dbff85;box-shadow:inset 0 1px 3px #fff8}.cal-grid span:last-child{background:#fb8cf4}.result-panel .detail-pills{display:flex;position:relative;gap:10px;flex-wrap:wrap;max-width:80%;margin-top:17px}.detail-pills .detail{border:1px solid #d1e1ff38;background:#101d4d42;padding:9px 11px;border-radius:11px;min-width:100px}.detail .tiny{font-size:11px;color:#c0cefc;display:block}.detail strong{font-size:14px;line-height:1.5}.result-footer{border-top:1px solid #ffffff29;padding-top:18px;margin-top:21px;display:flex;flex-wrap:wrap;gap:8px;position:relative;z-index:1}.result-footer .ghost{padding:8px 13px;min-height:37px;font-size:11px}.result-footnote{font-size:11px;color:#d1daf6;margin-top:13px;position:relative;max-width:460px}.state-alert{padding:13px 14px;border:1px solid #ffcf8670;background:#704b5f60;color:#ffe7cf;border-radius:13px;font-size:12px;position:relative;line-height:1.55;margin:12px 0}.state-alert strong{display:block;color:white;margin-bottom:4px}.empty-result .result-value{font-size:26px;letter-spacing:-.3px;line-height:1.3;max-width:340px;margin-bottom:28px}
.section-label{font-size:13px;letter-spacing:.6px;font-weight:700;color:#dde6ff;margin:10px 0 12px}.ledger-items{margin:0 0 14px;display:flex;flex-direction:column;gap:7px;max-height:160px;overflow:auto}.entry{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#1624557a;border:1px solid #e0e6ff26;border-radius:10px;padding:9px 11px;font-size:12px}.entry button{background:none;border:0;color:#ffb6cf;padding:2px}.entry button .ico{width:17px;height:17px}.inline-add{display:grid;grid-template-columns:1fr 1fr auto;align-items:end;gap:8px;margin-bottom:13px}.inline-add .field{margin:0}.inline-add .field>span{font-size:11px}.inline-add .field>input{padding:8px;min-height:39px}.inline-add .chipbtn{height:39px}.more-options{border-top:1px solid #ffffff27;margin:9px 0 12px;padding-top:13px}.more-options summary{font-size:12px;color:#e1dbff;cursor:pointer;font-weight:700;margin-bottom:13px}.ledger-table{width:100%;border-collapse:collapse;font-size:11px;position:relative}.ledger-table th,.ledger-table td{border-bottom:1px solid #c5d7ff28;text-align:left;padding:9px 7px}.ledger-table th{color:#c6cff1;font-weight:650}.ledger-table td{color:#f7f7ff}.ledger-table tr:last-child td{border:0}.scroll-table{overflow-x:auto;max-height:300px;overflow-y:auto}.scroll-table table{min-width:400px}.footer-info{margin-top:17px;margin-bottom:22px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#c1ceef;font-size:11px}.footer-info a{color:#d9c8ff;text-decoration:underline;text-underline-offset:3px}.footer-info p{margin:0;max-width:710px}.legal-note{margin-top:5px;padding:15px 18px;background:#16245475;border:1px solid #d4e8ff29;border-radius:15px;font-size:12px;color:#c9d1f0;line-height:1.65}.source-links{display:flex;gap:13px;flex-wrap:wrap;margin-top:8px}.source-links a{font-size:11px;color:#ded1ff;text-decoration:underline}.bottom-cta{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:10px 0 0}.bottom-cta>strong{font-size:14px}.bottom-cta small{color:#b8c7f1}
.modal-backdrop{position:fixed;inset:0;z-index:90;background:rgba(3,9,26,.77);backdrop-filter:blur(12px);display:flex;align-items:center;justify-content:center;padding:22px}.modal{max-width:520px;width:100%;max-height:92vh;overflow:auto;background:linear-gradient(145deg,#28386c,#1c2857);border:1px solid #c6cbff5f;border-radius:24px;padding:28px;box-shadow:0 30px 100px #050a30}.modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px}.modal h2{font-size:23px;margin:0}.close{background:#ffffff15;border:1px solid #ffffff33;border-radius:11px;width:34px;height:34px;color:white;font-size:22px}.modal .field>input{min-height:48px}.modal-actions{display:flex;gap:9px;flex-wrap:wrap}.saved-item{display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid #ffffff22;padding:12px 0;font-size:13px}.saved-item small{color:#b2c2e6;display:block}.saved-item button{min-height:32px}.saved-list{max-height:350px;overflow:auto}.toast{position:fixed;z-index:110;right:25px;bottom:22px;padding:13px 18px;border:1px solid #b3b2ff88;background:#222e5dee;box-shadow:0 12px 35px #0008;border-radius:13px;color:#f8f9ff;max-width:min(400px,calc(100vw - 40px));font-size:13px}
@keyframes float-cal{0%,100%{transform:translateY(0) rotateY(-24deg) rotateX(20deg) rotate(-7deg)}50%{transform:translateY(-12px) rotateY(-18deg) rotateX(17deg) rotate(-5deg)}}
@media(min-width:1560px){.hero{min-height:345px}.result-calendar{right:30px;top:95px}}
@media(max-width:1100px){.shell{width:min(100% - 44px,1100px)}.top-inner{gap:19px}.top-links{gap:17px}.brand{width:150px}.brand img{width:150px}.tool-tab{gap:9px;padding:13px 10px}.tool-tab .tab-ico{width:35px;height:35px}.tab-ico .ico{width:23px;height:23px}.tool-tab strong{font-size:13px}.tool-tab small{font-size:10px}.workspace{gap:15px}.form-panel,.result-panel{padding:24px}.result-calendar{opacity:.57}.result-value{font-size:55px}}
@media(max-width:780px){.site-header{height:auto;min-height:70px}.top-inner{min-height:70px;flex-wrap:wrap;gap:4px 10px;padding:5px 0}.brand{width:147px;height:60px}.brand img{width:147px}.top-links{order:3;width:100%;flex:none;justify-content:space-between;gap:12px;border-top:1px solid #fff2;padding:4px 0 8px}.top-links button{font-size:12px;padding:6px}.right-actions{margin-left:auto;gap:7px}.minibtn{font-size:11px;min-height:36px;padding:8px 11px}.hero{grid-template-columns:1fr;min-height:0;padding:36px 0 0}.hero h1{font-size:clamp(42px,8.5vw,64px)}.hero p{font-size:14px;max-width:500px}.hero-art{height:220px;margin-top:-11px}.hero-art .blob.a{left:18%}.tile-3d{left:45%;top:5px;width:185px;height:173px}.tile-face .scales{width:96px;height:96px}.orbital{left:21%;top:9px}.tool-tabs{grid-template-columns:repeat(5,minmax(165px,1fr));overflow:auto;padding:5px 4px 15px;margin-top:3px;scroll-snap-type:x mandatory;scrollbar-color:#b49cff85 transparent}.tool-tab{scroll-snap-align:start;min-height:73px}.workspace{grid-template-columns:1fr}.form-panel,.result-panel{min-height:0}.result-panel{min-height:286px}.result-calendar{top:90px;right:15px;opacity:.75}.footer-info{align-items:flex-start;flex-direction:column}}
@media(max-width:520px){.shell{width:calc(100% - 30px)}.top-inner{gap:2px 6px}.brand{width:122px;height:57px}.brand img{width:123px}.right-actions{gap:5px}.minibtn{padding:7px 8px;min-height:34px;border-radius:10px}.right-actions .minibtn .ico{display:none}.hero{padding-top:25px}.eyebrow{font-size:10px;letter-spacing:2px}.hero h1{font-size:40px;letter-spacing:-2.1px;line-height:1.07}.hero p{font-size:13px}.hero-hints{margin-top:13px}.hero-art{height:170px;margin-top:-13px}.tile-3d{width:137px;height:135px;left:48%;top:5px;border-radius:24px}.tile-3d:before,.tile-face{border-radius:24px}.tile-face:before{inset:9px;border-radius:17px}.tile-face .scales{width:79px;height:79px}.orbital{width:330px;height:117px;left:10%;top:13px}.orbital.second{width:330px;left:3%;top:39px}.blob.a{width:340px!important;height:130px!important;top:45px!important}.tool-tabs{grid-template-columns:repeat(5,151px);gap:10px;margin:3px 0 9px}.tool-tab{padding:12px 11px;min-height:68px;border-radius:14px}.tool-tab small{display:none}.tool-tab strong{font-size:12px}.tool-tab .tab-ico{height:37px;width:37px;border-radius:10px}.workspace{gap:15px}.glass{border-radius:20px}.form-panel,.result-panel{padding:19px 17px}.panel-title{margin-bottom:16px}.panel-title h2{font-size:19px}.panel-title p{font-size:11px}.section-symbol{width:41px;height:41px}.field-grid{grid-template-columns:1fr 1fr;gap:9px}.field{margin-bottom:10px}.field>span{font-size:11px}.field>input,.field>select,.field .input-wrap{padding:9px 10px;min-height:42px}.result-value{font-size:52px}.result-value.money{font-size:40px}.result-calendar{top:96px;right:-24px;transform:scale(.72)}.result-panel .detail-pills{max-width:78%}.detail-pills .detail{min-width:0}.detail strong{font-size:12px}.inline-add{grid-template-columns:1fr 1fr auto;gap:5px}.inline-add .field>input{padding:6px;font-size:11px}.inline-add .chipbtn{padding:6px}.result-footer{margin-top:14px}.legal-note{font-size:11px}.bottom-cta{margin-top:12px}}
@media(max-width:355px){.hero h1{font-size:35px}.right-actions .minibtn{font-size:10px}.brand,.brand img{width:105px}.form-panel{padding:16px}.result-calendar{opacity:.4}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.001ms!important;scroll-behavior:auto!important;transition:none!important}}
@media print{@page{size:A4;margin:14mm}.site{background:white!important;color:#182244!important;overflow:visible}.site:before,.aurora,.site-header,.hero-art,.tool-tabs,.primary,.ghost,.result-calendar,.bottom-cta,.modal-backdrop,.toast,.tool-icon-btn,.source-links{display:none!important}.shell{width:100%}.hero{min-height:0;display:block;padding:0 0 20px}.hero h1,.hero h1 span,.hero p,.eyebrow{color:#172b54!important}.workspace{display:block}.glass{color:#172b54!important;background:white!important;box-shadow:none;border:1px solid #a3b0c7;margin-bottom:15px;break-inside:avoid}.form-panel,.result-panel{padding:18px}.result-value,.result-sub,.panel-title p,.panel-title h2,.field>span,.detail .tiny,.detail strong{color:#182244!important}.field>input,.field>select{color:#182244!important;background:white!important;border:1px solid #bbc4d5!important}.result-panel .detail{background:#f0f3fa}.legal-note{background:#f0f2f7;color:#273659;border:1px solid #bbc4d5}.footer-info{color:#53617d}.print-invisible{display:none!important}}
