@charset "UTF-8";
:root{color-scheme:dark;--bg:#07121e;--surface:#0e2030;--surface-2:#10283a;--text:#e4eef6;--muted:#92aabd;--line:#294252;--cyan:#89e6ef;--gold:#c8ad7f;--reading-size:16px;--font-sans:"Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif;--font-serif:"Noto Serif SC","Songti SC",serif;--radius:14px;font-family:var(--font-sans);font-size:14px;line-height:1.6;color:var(--text);background:var(--bg)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}button,a,input,select,textarea,summary{transition:color .18s,background .18s,border-color .18s,box-shadow .18s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-weight:500}button{border:0}svg{display:block}.icon{width:20px;height:20px;flex-shrink:0;display:inline-block;vertical-align:middle}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}[hidden]{display:none!important}.skip-link{position:fixed;left:20px;top:-100px;background:var(--cyan);color:#082131;padding:12px;z-index:99}.skip-link:focus{top:10px}.button{display:inline-flex;justify-content:center;align-items:center;gap:9px;min-height:44px;padding:10px 20px;border-radius:8px;font-size:13px;white-space:nowrap;border:1px solid transparent}.button.primary{background:linear-gradient(115deg,#b5f7f5,#73d9e7);color:#062434;box-shadow:0 3px 20px #62d8e919}.button.primary:hover{background:#b3f4f7;box-shadow:0 0 25px #70e4ee32;transform:translateY(-1px)}.button.secondary{color:#c8dce9;background:#11283a;border-color:#345365}.button.secondary:hover{border-color:#6ea1b2;background:#163248}.icon-button{display:inline-grid;place-items:center;width:42px;height:42px;border:1px solid transparent;border-radius:8px;background:transparent;color:var(--muted);flex-shrink:0}.icon-button:hover{background:#1c394a;color:var(--cyan)}.quiet-button{background:none;color:var(--muted);font-size:12px;min-height:36px;padding:6px 9px;border-radius:6px}.quiet-button:hover{background:#203849;color:var(--text)}.text-link{display:inline-flex;align-items:center;gap:10px;color:#adcbdc;font-size:12px;min-height:36px}.text-link:hover{color:var(--cyan)}.eyebrow{font-size:10px;letter-spacing:2.3px;color:var(--cyan);font-weight:400;display:flex;align-items:center;gap:11px}.brand{display:flex;align-items:center;gap:12px;white-space:nowrap}.brand-mark{width:43px;height:43px;color:#bceef6;filter:drop-shadow(0 0 7px #76d3e744);flex-shrink:0}.brand>span{font-family:var(--font-serif);font-size:23px;font-weight:700;letter-spacing:1px}.brand b{font:600 18px var(--font-serif);margin-left:4px;letter-spacing:2px}.brand small{font-family:var(--font-sans);display:block;color:var(--muted);font-size:9px;letter-spacing:3px;margin-top:1px}.home-page{background:radial-gradient(ellipse at 67% 28%,#12354e65,transparent 45%),linear-gradient(#06121f,#081725 75%,#07121d);overflow:hidden}.home-header{height:92px;max-width:1500px;padding:0 65px;margin:auto;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #2b52633d;position:relative;z-index:5}.home-header nav{display:flex;gap:36px;margin-left:auto;margin-right:50px;font-size:13px;color:#a6bccb;align-items:center}.home-header nav a{padding:33px 0;position:relative}.home-header nav a:hover,.home-header nav .active{color:#e0f3fb}.home-header nav .active:after{content:"";position:absolute;left:0;right:0;bottom:16px;width:24px;margin:auto;height:2px;background:var(--cyan);box-shadow:0 0 8px #86e8ff}.header-action{border:1px solid #52778a;border-radius:24px;padding:8px 20px;display:flex;gap:8px;align-items:center;font-size:12px;box-shadow:inset 0 0 14px #387c8e18}.header-action:hover{border-color:var(--cyan)}.hero{max-width:1500px;height:555px;margin:auto;position:relative;display:flex;align-items:center;padding:0 80px}.star-field{position:absolute;inset:0 -100px;pointer-events:none;opacity:.8;background-image:radial-gradient(circle at 10% 21%,#b3e4ffb0 0 1px,transparent 1.5px),radial-gradient(circle at 33% 10%,#c2e7ff 0 .6px,transparent 1px),radial-gradient(circle at 44% 62%,#b3e4ff60 0 1px,transparent 1.5px),radial-gradient(circle at 82% 45%,#b3e4ff80 0 1px,transparent 1.5px),radial-gradient(circle at 94% 78%,#b3e4ff60 0 1px,transparent 1.5px);background-size:370px 330px,490px 310px,510px 280px,380px 520px,620px 420px;mask-image:linear-gradient(#000,transparent)}.hero-copy{position:relative;z-index:3;width:50%;padding-bottom:14px;pointer-events:none}.hero-copy .eyebrow{font-size:10px;letter-spacing:3px;color:#9dcbd9}.hero-copy .eyebrow span{width:22px;height:1px;background:#a4dbe6}.hero h1{font-family:var(--font-serif);font-weight:400;font-size:76px;line-height:1.25;letter-spacing:8px;margin:27px 0 23px;text-shadow:0 0 30px #539dc11c}.hero h1>span{display:block}.title-dot{font-family:serif;color:var(--gold);font-size:.7em;letter-spacing:0;margin-left:1px}.hero-copy>p{color:#a4b9c9;font-size:15px;line-height:2;letter-spacing:1px;margin:0}.hero-caption{display:flex;align-items:center;gap:13px;margin-top:27px;color:#8299aa;font-size:10px;letter-spacing:2px}.hero-caption i{display:inline-block;height:8px;border-left:1px solid #5e798d;margin:0 10px}.tiny-seal{font-family:serif;border:1px solid #977a54;color:var(--gold);width:26px;height:28px;display:grid;place-items:center;font-size:14px;letter-spacing:0}.observatory-wrap{position:absolute;right:10px;top:-6px;width:62%;height:590px;isolation:isolate}.observatory-wrap canvas{width:100%;height:100%;display:block}.float-chart{position:absolute;border:1px solid #416b8170;border-radius:9px;padding:13px 17px;background:linear-gradient(135deg,#173b5360,#06132272);backdrop-filter:blur(6px);box-shadow:inset 0 0 20px #7ccee80b,0 0 25px #03111e70;color:#b6d5e4;display:flex;flex-direction:column;align-items:center;gap:8px;font-size:10px;transform:rotate(-5deg);width:95px}.float-chart:before{content:"";width:3px;height:3px;background:#c8f8ff;box-shadow:0 0 10px 3px #6ed8f85a;position:absolute;left:-1px;top:8px}.float-chart .engine-symbol{width:33px;height:33px;color:#9ddddf}.float-chart small{font-size:8px;letter-spacing:1px;color:#7e9cae;white-space:nowrap}.chart-one{top:99px;left:8%;transform:perspective(500px) rotateY(12deg) rotate(-5deg)}.chart-two{top:52px;right:8%;transform:perspective(500px) rotateY(-12deg) rotate(5deg)}.chart-three{bottom:117px;right:4%;transform:perspective(500px) rotateY(-12deg) rotate(3deg)}.orbit-label{font-family:monospace;letter-spacing:4px;font-size:8px;color:#789eb170;position:absolute;bottom:58px;left:37%}.motion-control{position:absolute;right:55px;bottom:18px;z-index:4;display:flex;align-items:center;gap:7px;background:none;color:#8aa6b7;font-size:10px;min-height:36px;padding:8px}.motion-control .icon{width:14px;height:14px}.home-entry{position:relative;z-index:4;max-width:820px;margin:-7px auto 0;padding:0 25px;text-align:center}.entry-heading{font-family:var(--font-serif);display:flex;align-items:center;justify-content:center;gap:18px;font-size:16px;letter-spacing:3px;margin-bottom:20px}.entry-heading>span{width:74px;height:1px;background:linear-gradient(90deg,transparent,#729cac);position:relative}.entry-heading>span:last-child{transform:scaleX(-1)}.entry-heading>span:after{content:"";position:absolute;right:0;top:-1px;width:3px;height:3px;background:#8fcfdc;transform:rotate(45deg)}.home-composer{display:flex;align-items:center;padding:9px 10px 9px 24px;border-radius:15px;border:1px solid #6cabbf;background:linear-gradient(100deg,#183b5080,#112638dc);box-shadow:0 0 40px #36a7d21a,inset 0 0 20px #63b1cb14;gap:16px}.home-composer>.icon{width:23px;height:23px;color:#b4d9e9}.home-composer input{background:none;border:0;color:var(--text);height:49px;flex:1;min-width:0;outline:none;font-size:15px;letter-spacing:1px}.home-composer input::placeholder{color:#b0bdc9}.round-send{display:grid;place-items:center;flex:0 0 47px;height:47px;border-radius:50%;background:linear-gradient(135deg,#bcf5f5,#66cbe5);color:#09293e;box-shadow:0 0 20px #76dcea44}.round-send:hover{background:#c1f6fa;box-shadow:0 0 30px #77dae860}.round-send .icon{width:23px;height:23px}.question-chips{display:flex;justify-content:center;gap:16px;margin:18px 0}.question-chips button{display:flex;align-items:center;gap:9px;border:1px solid #335c70;border-radius:22px;color:#c0d5df;padding:7px 22px;min-height:38px;background:linear-gradient(#122a3d,#0b1d2d);font-size:11px;box-shadow:inset 0 1px 10px #499bb218}.question-chips button:hover{border-color:#76adbd;background:#193b4f}.question-chips .icon{width:15px;height:15px}.home-tools{max-width:1330px;margin:57px auto 0;padding:0 50px}.section-top{display:flex;align-items:end;justify-content:space-between;margin-bottom:25px}.section-top .eyebrow{font-size:9px;letter-spacing:3px;color:#7ca9bb}.section-top h2{font-family:var(--font-serif);font-size:24px;letter-spacing:2px;margin:9px 0 0}.engine-tiles{display:grid;grid-template-columns:repeat(5,1fr);gap:17px}.engine-tile{position:relative;min-height:185px;border:1px solid #3a5c6e;border-radius:11px;text-align:center;padding:24px 15px;background:linear-gradient(130deg,#18354a55,#08172466);box-shadow:inset 0 1px #7cb2c70d;overflow:hidden}.engine-tile:after{content:"";position:absolute;left:15%;right:15%;bottom:-30px;height:42px;border-radius:50%;background:#42bdd530;filter:blur(24px);transition:background .2s}.engine-tile:hover{border-color:#94e7ec;transform:translateY(-4px);box-shadow:0 8px 35px #2b9ab31a;background:linear-gradient(130deg,#1d455b80,#10243580)}.engine-symbol{width:37px;height:37px;color:#c6b38f;display:block;flex-shrink:0}.engine-tile .engine-symbol{margin:0 auto 15px}.engine-tile h3{font-family:var(--font-serif);font-size:19px;letter-spacing:2px;margin:0 0 7px}.engine-tile p{font-size:10px;letter-spacing:1px;color:#8ba2b2;margin:0}.tile-index{position:absolute;left:13px;top:10px;font:9px monospace;color:#628096}.tile-arrow{position:absolute;right:13px;bottom:10px;color:#7c9eb2;font-size:14px}.journey-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:60px;margin:62px auto 0;max-width:1230px;padding:32px 0 38px;border-top:1px solid #2a435366}.journey-strip>div{position:relative;padding-left:40px}.journey-strip span{position:absolute;left:0;top:0;color:#6a8fa6;font:12px Georgia}.journey-strip h3{font-size:13px;font-weight:400;margin-bottom:7px;letter-spacing:1px}.journey-strip p{font-size:11px;color:#8098aa;margin:0}.site-footer{border-top:1px solid #2841516b;max-width:1330px;margin:20px auto 0;padding:27px 50px 35px;display:flex;justify-content:space-between;align-items:center;color:#778f9f;font-size:10px;letter-spacing:1px}.site-footer .icon{width:13px;height:13px;margin-left:6px}
/* Shared workbench */
.workspace-shell{min-height:100vh;background:radial-gradient(ellipse at 60% 0,#13304a50,transparent 55%),#0a1724}.sidebar{width:248px;position:fixed;inset:0 auto 0 0;z-index:15;background:linear-gradient(180deg,#0a1a29,#0a1825);border-right:1px solid #263e4d;padding:29px 18px 17px;display:flex;flex-direction:column}.sidebar .brand{margin:0 10px 27px;gap:10px}.sidebar .brand-mark{width:36px;height:36px}.sidebar .brand>span{font-size:20px}.sidebar .brand b{font-size:16px}.sidebar .brand small{font-size:8px;letter-spacing:2px}.new-chat{display:flex;align-items:center;gap:10px;justify-content:center;height:45px;border:1px solid #548697;border-radius:9px;color:#c7edf3;background:linear-gradient(120deg,#244b5f60,#112b3d);font-size:12px}.new-chat:hover{background:#284e63}.new-chat .icon{width:17px;height:17px}.side-intro{display:flex;gap:9px;align-items:center;padding:21px 6px 7px;color:#bdceda;font-size:10px}.side-intro small{display:block;color:#6f8a9e;font-size:9px;margin-top:5px}.orb-dot{width:5px;height:5px;border-radius:50%;background:#75bfca;box-shadow:0 0 8px #6cdce799;flex-shrink:0}.side-nav{padding-top:8px;overflow-y:auto;scrollbar-width:thin}.nav-group{margin-bottom:17px}.nav-heading{font-size:10px;color:#6c879b;padding:8px 13px 5px;letter-spacing:2px}.nav-item{height:43px;display:flex;align-items:center;gap:12px;padding:0 13px;border-radius:8px;color:#91abbe;font-size:12px;margin:3px 0;border:1px solid transparent}.nav-item .icon{width:17px;height:17px;color:#7999af}.nav-item:hover{background:#173046;color:#d1e3ed}.nav-item.selected{background:linear-gradient(100deg,#1f465a,#163346);border:1px solid #376375;color:#d3f3f7}.nav-item.selected .icon{color:#a1e3e9}.nav-item.selected i{width:4px;height:4px;border-radius:50%;background:#a3edf1;margin-left:auto;box-shadow:0 0 8px #62cede}.side-profile{display:flex;align-items:center;gap:10px;margin-top:auto;padding:17px 4px 0;border-top:1px solid #29404e;font-size:11px}.profile-avatar{width:35px;height:35px;border-radius:50%;border:1px solid #546d76;background:#243c47;color:#dbcfac;font-family:var(--font-serif);display:grid;place-items:center;flex-shrink:0;font-size:17px}.side-profile small{display:block;font-size:8px;color:#7892a4;margin-top:3px}.side-profile>.icon{margin-left:auto;width:14px;color:#7a9cb0}.workspace-main{margin-left:248px;min-width:0}.work-header{height:72px;border-bottom:1px solid #253f50;padding:0 34px;display:flex;align-items:center;justify-content:space-between;background:#091a2880;backdrop-filter:blur(12px);position:sticky;top:0;z-index:10}.work-header>div{display:flex;align-items:center;gap:15px}.breadcrumb{font-size:11px;color:#748da0;display:flex;align-items:center;gap:15px}.breadcrumb i{font-style:normal;color:#435f73}.breadcrumb b{font-weight:400;color:#c8d8e4}.header-right{gap:16px}.service-state{font-size:9px;color:#819cad;display:flex;gap:7px;align-items:center}.service-state i{width:4px;height:4px;background:#ba9b60;border-radius:50%}.service-state.ready i{background:#7ac7b1}.mobile-menu{display:none}.work-content{max-width:1450px;margin:auto;padding:38px 42px 40px;outline:none}.workspace-footer{text-align:center;color:#627e92;font-size:9px;letter-spacing:1px;padding:8px 20px 20px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:31px}.page-heading .eyebrow{font-size:9px}.page-heading h1{font-family:var(--font-serif);font-size:32px;letter-spacing:2px;line-height:1.5;margin:10px 0 9px}.page-heading p{font-size:12px;color:var(--muted);margin-bottom:0}.panel{border:1px solid #2a4557;border-radius:var(--radius);background:linear-gradient(130deg,#122b3c70,#0e2333a0);box-shadow:0 10px 30px #020b1315}.panel-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;gap:12px}.panel-heading h2{font-size:16px;font-weight:500;margin:0}.pill{font-size:10px;color:#93b9ca;display:inline-block;border:1px solid #35586a;border-radius:6px;line-height:1.8;padding:2px 8px;background:#19384950;white-space:nowrap}.pill.success{color:#9ed6c0;border-color:#386756}.hint{font-size:11px;color:var(--muted)}.notice{padding:16px 20px;border:1px solid #355266;border-radius:9px;background:#19374b55;color:#9cb8ca;font-size:12px;line-height:1.8;margin:22px 0}.notice a{color:#a7e6ed;text-decoration:underline;text-underline-offset:3px}.error-message{font-size:12px;color:#ffb5aa;line-height:1.7;margin:12px 0 0}.error-message:empty{display:none}.tools-overview{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.tool-card{padding:24px;min-height:218px;display:flex;flex-direction:column}.tool-card:hover{border-color:#6597a8;background:#17374b;transform:translateY(-3px)}.tool-card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.tool-card-top>span{font:10px monospace;color:#658399}.tool-card h2{font-family:var(--font-serif);font-size:21px;letter-spacing:1px;margin:0 0 8px}.tool-card p{font-size:11px;color:#8da7b9;line-height:1.8;margin:0 0 18px}.tool-card>div:last-child{font-size:11px;color:#a6cedd;display:flex;align-items:center;gap:10px;margin-top:auto}.tool-card>div:last-child .icon{width:15px;height:15px}.tool-layout{display:grid;grid-template-columns:minmax(0,1fr) 255px;gap:23px}.form-panel{padding:27px 29px}.tool-guide{padding:29px 24px;align-self:start}.tool-guide .eyebrow{font-size:8px;letter-spacing:1.7px}.tool-guide h3{font-family:var(--font-serif);font-size:22px;line-height:1.8;margin:17px 0 28px;color:#c5dbe7}.guide-line{display:flex;gap:12px;margin:25px 0}.guide-line>b{font:10px Georgia;color:#7cb6c5;padding-top:4px}.guide-line p{font-size:12px;margin:0;color:#c8dce8}.guide-line small{display:block;font-size:10px;color:#87a4b8;line-height:1.9;margin-top:6px}.tool-guide>.text-link{font-size:10px;border-top:1px solid #315061;width:100%;padding-top:16px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.field{display:flex;flex-direction:column;gap:8px;font-size:12px;color:#b7cedd;min-width:0}.field-wide{grid-column:1/-1}.field input,.field select,.field textarea,form input:not([type=checkbox]):not([type=hidden]):not([type=radio]),form select,form textarea{width:100%;min-width:0;background:#091b29;border:1px solid #365264;color:#d6e4ed;border-radius:7px;min-height:43px;padding:10px 12px;outline-offset:2px;font-size:12px}.field input::placeholder,form textarea::placeholder{color:#738fa4}.field input:disabled{opacity:.4}.field .hint,.field small{font-size:10px;color:#7b98ad;line-height:1.6}.check-field{display:flex;align-items:center;gap:8px;color:#a0bacb;font-size:11px;min-height:28px}.check-field input,input[type=checkbox]{accent-color:#6dd6dd;width:15px;height:15px;flex-shrink:0}.section-label{font-size:12px;color:#a9ccdb;letter-spacing:1px;margin:22px 0 15px}.form-panel fieldset{border:1px solid #2c4a5c;padding:16px;border-radius:9px;margin:20px 0}.form-panel legend{color:#b0d8e7;font-size:12px;padding:0 7px}.form-panel .notice{padding:12px 14px;font-size:11px}.advanced-fields,form details{margin:20px 0;border-top:1px solid #284656;padding-top:14px}summary{cursor:pointer;color:#a6c4d5;font-size:12px;padding:6px 0;min-height:34px}details[open]>summary{margin-bottom:12px}form button:not(.button):not(.round-send):not(.icon-button){background:#19384a;color:#b6e5ec;border:1px solid #3b6273;border-radius:6px;min-height:35px;padding:7px 12px;font-size:11px}.form-submit{display:flex;align-items:center;gap:15px;margin-top:25px;padding-top:22px;border-top:1px solid #304b5d}.form-submit .hint{font-size:10px}.event-row{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:10px;margin:12px 0}.event-row button{align-self:end}.spinner{width:17px;height:17px;border:2px solid #53828a;border-top-color:currentColor;display:inline-block;border-radius:50%;animation:spin .7s linear infinite}.tool-form-actions{display:flex;gap:10px;margin-bottom:20px}pre{margin:12px 0;padding:18px;background:#061521;border:1px solid #284352;color:#a9c5d5;border-radius:8px;white-space:pre-wrap;overflow-wrap:anywhere;font-family:ui-monospace,Consolas,monospace;font-size:11px;line-height:1.8;max-height:500px;overflow:auto}.result-toolbar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:10px 0 25px}.result-toolbar h2{font-family:var(--font-serif);font-size:26px;margin:12px 0 7px}.result-toolbar p{font-size:11px;color:#8da8b9;margin:0}.toolbar-actions{display:flex;gap:10px;align-items:center}.report-view{margin-top:26px;min-width:0}.input-summary{margin-bottom:20px}.input-summary summary{font-size:11px;color:#92acbd}.result-section{border:1px solid #2c495b;background:#1027388c;border-radius:12px;padding:25px;margin:20px 0;font-size:var(--reading-size);min-width:0}.result-heading{font-family:var(--font-serif);font-size:21px;color:#dceaf3;margin-bottom:22px}.result-section h2,.result-section h3{font-size:17px;color:#d7e7f1;margin-top:0}.result-section p{font-size:13px;line-height:1.9;color:#a5bfce}.metrics{display:flex;flex-wrap:wrap;gap:15px;margin:18px 0}.metric{flex:1;min-width:110px;padding:15px;background:#1a374a70;border:1px solid #355364;border-radius:8px;display:flex;flex-direction:column;gap:6px}.metric label,.metric small{font-size:11px;color:#95b2c4}.metric strong,.metric b{color:#c9edf0;font-weight:500;font-size:20px}.bazi-pillars{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.bazi-pillars .palace{padding:20px;text-align:center;background:linear-gradient(145deg,#21435460,#11263870)}.pillar-stem,.pillar-branch{font-family:var(--font-serif);font-size:32px;letter-spacing:3px;color:#b8ebeb;line-height:1.5;display:block}.palace{border:1px solid #3c5969;border-radius:8px;padding:14px;background:#112a3c;min-width:0}.palace>h3,.palace>h4{font-size:12px;color:#b0ccd9;margin:0 0 10px}.palace p{font-size:11px;line-height:1.9;margin-bottom:6px}.palace small{color:#8aabbe;font-size:10px}.palace-main{font-size:18px;color:#b9e6eb;margin:7px 0}.palace-stems{color:#c8b68b;font-family:var(--font-serif);font-size:20px;letter-spacing:6px}.chart-grid,.qimen-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.ziwei-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;min-width:560px}.ziwei-grid .palace{padding:12px;font-size:11px;min-height:145px}.chart-center{display:flex;align-items:center;justify-content:center;flex-direction:column;padding:22px;background:radial-gradient(ellipse,#1e4b6060,transparent);text-align:center;min-width:0}.chart-center strong{font-family:var(--font-serif);font-size:23px;color:#cceaf0}.chart-center p{font-size:12px}.major-stars,.ziwei-star{color:#d4c396;font-size:13px;line-height:2}.hexagram-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.yao-row{display:flex;align-items:center;gap:12px;margin:8px 0}.yao-line{display:flex;gap:10px;width:100%;max-width:130px;min-width:65px;height:6px}.yao-line i{display:block;flex:1;background:#b3dce4;height:6px}.yao-line.yang i{flex:1}.yao-line.yin i{width:45%}.yao-row span{font-size:10px;color:#b1c6d4}.element-bars{display:grid;gap:12px}.element-bars label{display:flex;gap:15px;align-items:center;font-size:12px}.element-bars meter{flex:1;height:12px;accent-color:var(--cyan)}.comparison-charts{display:grid;grid-template-columns:1fr 1fr;gap:22px}.table-wrap{overflow:auto;max-width:100%;margin:14px 0;scrollbar-width:thin}.data-table{width:100%;border-collapse:collapse;font-size:12px;text-align:left;line-height:1.8;min-width:400px}.data-table th{font-weight:400;color:#90b9ce;background:#19374b;padding:11px 14px;white-space:nowrap}.data-table td{border-bottom:1px solid #2c4758;padding:12px 14px;color:#b7cfde;vertical-align:top}.data-table tr:hover td{background:#19364950}.result-section ul{padding-left:22px;font-size:13px;color:#a8c1d2;line-height:2}.result-section dl{font-size:12px}.result-section dt{color:#9bb6c8}.result-section dd{margin:5px 0 15px;color:#d3e2eb}.result-section details{margin-top:16px}.report-filter{display:flex;justify-content:space-between;align-items:center;margin-bottom:22px}.search-box{display:flex;gap:10px;align-items:center;color:#7d9cb3;background:#102536;border:1px solid #2b4658;border-radius:8px;padding:0 13px;width:330px}.search-box input{background:none;border:0;height:42px;color:var(--text);width:100%;min-width:0;font-size:11px}.report-list{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.report-card{position:relative;padding:23px}.report-link{display:flex;align-items:center;gap:20px;min-height:87px;padding-bottom:23px}.report-link h2{font-size:16px;margin:9px 0 8px}.report-link p{font-size:10px;color:#8ca5b8;margin:0}.report-link .eyebrow{font-size:8px}.report-arrow{margin-left:auto;font-size:22px;color:#81b4ca}.report-card .delete-report{position:absolute;bottom:7px;right:13px}.empty-state{grid-column:1/-1;padding:65px 25px;text-align:center}.empty-state>.icon{width:40px;height:40px;color:#7196ac;margin-bottom:22px}.empty-state h2{font-family:var(--font-serif);font-size:24px;margin-bottom:13px;letter-spacing:1px}.empty-state p{font-size:12px;color:#8daabb;line-height:2;margin-bottom:24px}.profile-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:23px}.profile-card{padding:26px}.profile-card-head{display:flex;gap:12px;align-items:center;padding-bottom:20px;border-bottom:1px solid #2e4b5d}.profile-card-head .profile-avatar{width:44px;height:44px;font-size:20px}.profile-card-head h2{font-size:17px;margin:0 0 4px}.profile-card-head p{font-size:10px;color:#8ba7b9;margin:0}.profile-card-head button{margin-left:auto}.profile-card dl{font-size:12px;margin:20px 0}.profile-card dl>div{display:flex;justify-content:space-between;gap:20px;margin:12px 0}.profile-card dt{color:#7f9eb2}.profile-card dd{color:#bdcfdd;text-align:right;margin:0;overflow-wrap:anywhere}.profile-actions{display:flex;justify-content:space-between;padding-top:12px;border-top:1px solid #2b4555}.profile-actions .text-link{font-size:11px}dialog{padding:28px;border:1px solid #507085;background:linear-gradient(125deg,#142e42,#0b1e2e);color:var(--text);border-radius:15px;width:min(620px,calc(100vw - 28px));max-height:90vh;overflow:auto;box-shadow:0 25px 100px #0008}dialog::backdrop{background:#020912b0;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px}.dialog-heading h2{font-family:var(--font-serif);font-size:26px;margin:7px 0}.dialog-heading .eyebrow{font-size:8px}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:24px}.chat-layout{display:grid;grid-template-columns:minmax(0,1fr) 250px;gap:27px;min-height:calc(100vh - 168px)}.chat-main{display:flex;flex-direction:column;min-width:0;min-height:590px;height:calc(100vh - 167px)}.chat-scroll{flex:1;overflow:auto;padding:5px 10px 25px;scrollbar-width:thin}.chat-welcome{max-width:560px;margin:42px auto 15px;text-align:center}.welcome-orb{width:82px;height:82px;display:grid;place-items:center;margin:0 auto 29px;border:1px solid #60848f;border-radius:50%;color:#b3e7e8;box-shadow:inset 0 0 25px #69d5df20,0 0 55px #69b5d519;position:relative;background:radial-gradient(ellipse,#31566980,#0d223320)}.welcome-orb:before,.welcome-orb:after{content:"";position:absolute;inset:-8px;border:1px solid #46708570;border-radius:50%;transform:rotateX(50deg) rotateZ(40deg)}.welcome-orb:after{inset:-14px;transform:rotateY(50deg) rotateZ(-50deg);border-color:#a9916770}.welcome-orb>.icon{width:31px;height:31px}.chat-welcome .eyebrow{justify-content:center;font-size:8px}.chat-welcome h1{font-family:var(--font-serif);font-size:32px;line-height:1.65;letter-spacing:0;margin:17px 0 15px}.chat-welcome p{color:#8da9bb;font-size:12px}.chat-suggestions{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:30px}.chat-suggestions button{background:#112b3c;border:1px solid #2d4b5e;border-radius:9px;font-size:10px;color:#a2bfd0;padding:13px;display:flex;justify-content:space-between;align-items:center;text-align:left;gap:8px}.chat-suggestions button:hover{background:#1f4055;border-color:#668e9f}.chat-suggestions .icon{width:12px;height:12px}.chat-composer-zone{padding:10px 0 0}.chat-model-note{display:flex;align-items:center;gap:10px;font-size:10px;color:#8ca7bb;justify-content:space-between;margin:0 5px 9px}.chat-model-note a{color:#92d5df}.chat-composer{border:1px solid #55788d;background:#102a3c;border-radius:14px;box-shadow:0 6px 28px #010b151f;padding:14px 15px 12px}.chat-composer textarea{resize:none;border:0;outline:none!important;box-shadow:none;background:transparent;font-size:13px;line-height:1.8;min-height:60px;width:100%;padding:0 3px}.composer-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px}.composer-bottom>label{display:flex;align-items:center;gap:6px;min-width:0;color:#9bb7c8}.composer-bottom>label>.icon{width:15px;height:15px}.composer-bottom select{background:transparent;border:0;font-size:10px;padding:6px;max-width:280px;min-height:34px;color:#8cafc5}.composer-bottom .round-send{width:37px;height:37px;flex-basis:37px;box-shadow:none}.composer-bottom .round-send .icon{width:18px;height:18px}.chat-footnote{font-size:9px;color:#6f8b9f;text-align:center;margin-top:12px}.chat-context{padding:25px 20px;align-self:start;margin-top:16px}.chat-context .eyebrow{font-size:8px;letter-spacing:1px}.chat-context h2{font-family:var(--font-serif);font-size:20px;margin:13px 0 24px}.context-blank{text-align:center;padding:20px 0 32px;color:#779bb4}.context-blank>.icon{width:30px;height:30px;margin-bottom:13px}.context-blank p{font-size:11px;margin-bottom:7px}.context-blank small{font-size:9px;color:#6f8da2}.context-bottom{border-top:1px solid #294c60;padding-top:21px}.context-bottom>.icon{color:#739fb6;width:18px}.context-bottom p{font-size:10px;line-height:2;color:#90aec1;margin:9px 0}.context-bottom .text-link{font-size:10px}.context-selected>.engine-symbol{width:45px;height:45px;margin:10px 0 22px}.context-selected h3{font-size:14px;line-height:1.7;margin:16px 0 10px}.context-selected p{font-size:9px;color:#7e9fb5}.context-selected .button{font-size:10px;width:100%;margin:8px 0 24px;padding:9px}.conversation-title{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:#90adc2;margin-bottom:22px}.chat-message{display:flex;gap:12px;margin:22px 0}.chat-message>div{max-width:90%;min-width:0}.message-avatar{width:30px;height:30px;border-radius:8px;background:#21465b;color:#a0e6ec;display:grid;place-items:center;flex-shrink:0}.message-avatar>.icon{width:16px;height:16px}.message-label{font-size:9px;color:#8daabd;display:block;margin-bottom:6px}.message-bubble{font-size:var(--reading-size);line-height:1.9;padding:14px 18px;border:1px solid #2b4c61;background:#132f42;border-radius:0 11px 11px;overflow-wrap:anywhere}.from-user{flex-direction:row-reverse}.from-user .message-label{text-align:right}.from-user .message-bubble{background:#1b3d51;border-radius:11px 0 11px 11px;border-color:#335c70}.from-user .message-avatar{background:#324554;color:#bcced9}.settings-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}.settings-panel{padding:26px}.settings-panel>p,.settings-panel details p{color:#91aec1;font-size:12px;line-height:2}.status-list{margin:22px 0;font-size:12px}.status-list>div{display:flex;justify-content:space-between;border-bottom:1px solid #2c485b;padding:11px 0;gap:20px}.status-list dt{color:#8eacbf}.status-list dd{margin:0;color:#c9dde8;text-align:right;overflow-wrap:anywhere}.settings-panel details{margin-bottom:20px}.data-counts{display:flex;justify-content:space-around;text-align:center;margin:27px 0}.data-counts b{display:block;font:30px Georgia;color:#b1d6e4;font-weight:400;margin-bottom:6px}.data-counts span{font-size:10px;color:#8aaabc}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.settings-panel .hint{margin-top:15px;font-size:10px}.setting-toggle{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:12px;margin:25px 0}.setting-toggle small{font-size:10px;display:block;color:#7e9fb6;line-height:1.8;margin-top:7px}.setting-toggle input{width:20px;height:20px}.toast{position:fixed;left:50%;bottom:30px;transform:translate(-50%,20px);opacity:0;pointer-events:none;background:#1c3f51;border:1px solid #628b9b;box-shadow:0 5px 30px #0006;border-radius:9px;color:#e4f4f9;padding:13px 22px;font-size:12px;z-index:100;transition:opacity .2s,transform .2s;max-width:calc(100vw - 30px);width:max-content;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}.sidebar-scrim{display:none}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1600px){.hero{height:570px;padding-left:100px}.hero h1{font-size:86px}.observatory-wrap{height:620px;right:10px;width:66%;top:-18px}.home-tools{margin-top:62px}.home-header{padding:0 85px}.home-entry{max-width:860px}.work-content{padding:44px 50px}.chat-layout{grid-template-columns:minmax(0,1fr) 285px;gap:38px}.chat-welcome{margin-top:60px}}
@media(max-width:1200px){.home-header{padding:0 35px}.home-header nav{gap:25px;margin-right:30px}.hero{padding:0 45px;height:530px}.hero h1{font-size:66px}.observatory-wrap{right:-15px;width:65%;height:560px}.float-chart{width:80px;padding:11px}.chart-one{left:10%;top:96px}.chart-two{right:5%}.chart-three{right:1%;bottom:122px}.hero-copy .eyebrow{font-size:9px;letter-spacing:2px}.hero-copy>p{font-size:13px}.home-tools{padding:0 35px}.journey-strip{margin:50px 35px 0;gap:25px}.sidebar{width:223px;padding-left:14px;padding-right:14px}.workspace-main{margin-left:223px}.sidebar .brand>span{font-size:18px}.sidebar .brand-mark{width:32px;height:32px}.work-content{padding:30px 28px}.work-header{padding:0 24px}.tool-layout{grid-template-columns:minmax(0,1fr)}.tool-guide{display:none}.chat-layout{grid-template-columns:1fr;min-height:calc(100vh - 148px)}.chat-context{display:none}.chat-main{height:calc(100vh - 145px)}.chat-welcome{margin-top:20px}.chat-welcome h1{font-size:32px}.settings-panel{padding:22px}.result-toolbar{flex-wrap:wrap}.engine-tiles{gap:12px}.engine-tile p{font-size:9px}.tools-overview{gap:15px}.tool-card{padding:20px}}
@media(max-width:900px){.home-header{height:80px;padding:0 24px}.home-header .brand>span{font-size:20px}.home-header .brand-mark{width:36px;height:36px}.home-header nav{gap:18px;margin:0 22px 0 auto}.home-header nav a{font-size:11px}.home-header nav a:last-child{display:none}.header-action{padding:7px 13px;font-size:11px}.hero{height:485px;padding:0 35px}.hero-copy{width:53%}.hero h1{font-size:58px;letter-spacing:5px}.hero-copy .eyebrow{font-size:8px}.hero-copy>p{font-size:12px}.hero-caption{font-size:8px}.observatory-wrap{height:505px;right:-20px;width:67%;top:0}.chart-one{left:15%;top:70px}.chart-two{right:5%;top:50px}.chart-three{right:8%;bottom:97px}.float-chart{padding:9px;width:65px;font-size:9px;gap:5px}.float-chart .engine-symbol{width:26px;height:26px}.float-chart small{display:none}.motion-control{bottom:6px;right:23px}.home-entry{max-width:690px;margin:5px auto 0}.home-tools{margin-top:47px;padding:0 25px}.engine-tiles{gap:9px}.engine-tile{padding:21px 8px;min-height:167px}.engine-tile h3{font-size:16px;letter-spacing:0}.engine-tile p{font-size:8px;letter-spacing:0}.engine-tile .engine-symbol{width:31px;height:31px}.section-top h2{font-size:21px}.journey-strip{margin:40px 25px 0;gap:20px}.journey-strip h3{font-size:11px}.journey-strip p{font-size:9px}.site-footer{padding:25px}.sidebar{width:210px}.sidebar .brand{margin-left:4px}.sidebar .brand>span{font-size:17px}.workspace-main{margin-left:210px}.work-content{padding:25px 20px}.tools-overview{grid-template-columns:repeat(2,1fr)}.profile-grid,.settings-grid,.report-list{grid-template-columns:1fr}.page-heading h1{font-size:28px}.page-heading p{font-size:11px}.page-heading .button{padding:10px 13px;font-size:11px}.bazi-pillars{gap:7px}.bazi-pillars .palace{padding:13px 7px}.result-section{padding:20px}.comparison-charts{grid-template-columns:1fr}.form-panel{padding:23px}.chat-welcome h1{font-size:29px}.chat-suggestions{grid-template-columns:1fr}.chat-suggestions button{padding:10px 15px}.chat-welcome{margin-top:5px}.chat-main{min-height:600px;height:auto}.chat-welcome .welcome-orb{width:65px;height:65px;margin-bottom:20px}.chat-scroll{max-height:60vh;min-height:350px}.chat-composer-zone{position:sticky;bottom:0;background:#0b1b29;padding-top:13px}.report-toolbar{flex-wrap:wrap}}
@media(max-width:650px){.home-header{padding:0 19px;height:74px}.home-header .brand>span{font-size:18px}.home-header .brand b{font-size:15px}.home-header .brand small{font-size:7px;letter-spacing:2px}.home-header .brand-mark{width:33px;height:33px}.home-header nav{display:none}.header-action{border-radius:7px;padding:7px 11px;gap:5px;font-size:10px}.header-action .icon{width:15px;height:15px}.hero{height:650px;display:block;padding:33px 24px 0;text-align:center}.hero-copy{width:100%;padding:0}.hero-copy .eyebrow{justify-content:center;font-size:8px;letter-spacing:2px}.hero h1{font-size:44px;line-height:1.4;margin:16px 0 9px;letter-spacing:3px;display:flex;justify-content:center;gap:12px}.hero h1>span{display:inline}.title-dot{display:none}.hero-copy>p{font-size:11px;line-height:1.9}.hero-caption{display:none}.observatory-wrap{width:115%;right:-7.5%;height:440px;top:205px}.chart-one{left:16%;top:53px}.chart-two{right:12%;top:25px}.chart-three{right:11%;bottom:110px}.orbit-label{bottom:50px;font-size:6px;left:33%}.motion-control{right:14px;bottom:0;font-size:9px}.home-entry{margin:3px 0 0;padding:0 22px}.entry-heading{font-size:13px;letter-spacing:2px;gap:12px;margin-bottom:17px}.entry-heading>span{width:30px}.home-composer{padding:7px 7px 7px 14px;border-radius:12px;gap:10px}.home-composer input{height:43px;font-size:12px;letter-spacing:0}.home-composer>.icon{width:19px;height:19px}.round-send{flex-basis:40px;height:40px}.round-send .icon{width:19px;height:19px}.question-chips{gap:8px;margin-top:14px}.question-chips button{padding:6px 11px;font-size:9px;gap:5px;min-height:34px}.question-chips .icon{width:12px;height:12px}.home-tools{padding:0 21px;margin-top:40px}.section-top{align-items:center;margin-bottom:20px}.section-top .eyebrow{font-size:7px;letter-spacing:2px}.section-top h2{font-size:19px;letter-spacing:1px}.section-top .text-link{font-size:9px;gap:4px}.section-top .text-link .icon{width:14px;height:14px}.engine-tiles{grid-template-columns:repeat(2,1fr);gap:12px}.engine-tile{min-height:160px;padding:23px 10px}.engine-tile:last-child{grid-column:1/-1;display:flex;gap:15px;align-items:center;justify-content:center;min-height:90px;padding:18px}.engine-tile:last-child .engine-symbol{margin:0}.engine-tile:last-child h3{margin:0}.engine-tile h3{font-size:18px}.engine-tile p{font-size:10px}.journey-strip{grid-template-columns:1fr;gap:25px;padding:27px 0;margin:37px 22px 0}.journey-strip>div{padding-left:35px}.journey-strip h3{font-size:12px}.journey-strip p{font-size:10px}.site-footer{display:flex;flex-wrap:wrap;gap:13px;justify-content:space-between;padding:22px;font-size:8px}.site-footer>span:nth-child(2){order:3;width:100%}.sidebar{width:248px;transform:translateX(-100%);transition:transform .2s;z-index:30}.sidebar-open .sidebar{transform:translateX(0)}.sidebar-open .sidebar-scrim{display:block;position:fixed;inset:0;background:#020911b3;backdrop-filter:blur(4px);z-index:25}.workspace-main{margin-left:0}.work-header{padding:0 15px;height:64px}.mobile-menu{display:inline-grid}.work-header>div{gap:8px}.breadcrumb{font-size:10px;gap:10px}.service-state{font-size:8px}.header-right{gap:6px!important}.header-right>.icon-button{width:32px}.work-content{padding:25px 18px}.workspace-footer{font-size:8px}.page-heading{align-items:start;gap:12px;margin-bottom:25px}.page-heading h1{font-size:27px;margin:9px 0 8px;letter-spacing:1px}.page-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.page-heading p{font-size:10px;line-height:1.8}.page-heading>.button{min-height:37px;padding:8px 10px;font-size:10px;margin-top:20px;gap:4px}.page-heading>.button .icon{width:14px}.tools-overview{gap:12px}.tool-card{padding:18px 16px;min-height:205px}.tool-card h2{font-size:19px}.tool-card p{font-size:10px}.tool-card-top{margin-bottom:18px}.tool-card-top .engine-symbol{width:30px;height:30px}.tool-card>div:last-child{font-size:10px}.notice{font-size:10px;padding:13px 15px}.form-panel{padding:21px 17px}.form-grid{gap:15px}.field{font-size:11px;gap:6px}.field input,.field select,.field textarea,form input:not([type=checkbox]):not([type=hidden]):not([type=radio]),form select,form textarea{font-size:12px;padding:10px;min-height:42px}.form-submit{flex-direction:column;align-items:stretch;gap:10px}.form-submit .hint{text-align:center;font-size:9px}.tool-layout{gap:16px}.event-row{grid-template-columns:1fr 1fr;gap:8px}.result-section{padding:18px 13px}.result-section h2{font-size:16px}.result-toolbar{gap:15px;align-items:start}.result-toolbar h2{font-size:23px}.toolbar-actions{gap:7px;flex-wrap:wrap}.toolbar-actions .button{font-size:11px;padding:9px 13px}.bazi-pillars{gap:6px}.bazi-pillars .palace{padding:13px 5px}.pillar-stem,.pillar-branch{font-size:27px}.palace{padding:10px}.qimen-grid{gap:6px}.palace-main{font-size:15px}.palace-stems{font-size:17px;letter-spacing:3px}.palace p{font-size:10px}.hexagram-grid{grid-template-columns:1fr;gap:18px}.hexagram-grid .yao-line{max-width:150px}.metrics{gap:9px}.metric{min-width:90px;padding:12px}.metric strong{font-size:17px}.data-table{font-size:11px}.data-table td,.data-table th{padding:10px}.profile-card{padding:22px}.profile-grid{gap:17px}.report-filter{gap:15px}.search-box{width:auto;flex:1;min-width:0}.report-filter>.hint{white-space:nowrap;font-size:9px}.report-card{padding:20px}.report-link h2{font-size:14px}.report-link{gap:15px}.empty-state{padding:48px 18px}.empty-state h2{font-size:23px}.empty-state p{font-size:11px}.chat-layout{min-height:calc(100vh - 137px);min-height:calc(100dvh - 137px)}.chat-main{min-height:calc(100vh - 137px);min-height:calc(100dvh - 137px);height:calc(100vh - 137px);height:calc(100dvh - 137px)}.chat-welcome{margin-top:27px}.chat-welcome h1{font-size:29px;letter-spacing:2px;line-height:1.6;margin-top:18px}.chat-welcome p{font-size:10px}.chat-welcome .welcome-orb{width:62px;height:62px;margin-bottom:26px}.chat-suggestions{grid-template-columns:1fr;margin:25px auto 0;max-width:300px;gap:8px}.chat-suggestions button{padding:10px 14px;font-size:10px}.chat-scroll{padding:8px 0 20px;min-height:0;max-height:none}.chat-composer-zone{padding-top:10px}.chat-composer{padding:12px}.chat-composer textarea{min-height:58px;font-size:12px}.composer-bottom select{max-width:230px;font-size:9px;min-height:31px;padding:5px}.composer-bottom .round-send{width:33px;height:33px;flex-basis:33px}.chat-footnote{font-size:8px;line-height:1.6;margin-top:10px}.chat-model-note{font-size:9px}.message-bubble{padding:12px 14px;font-size:14px}.chat-message{gap:9px}.message-avatar{width:27px;height:27px}.chat-message>div{max-width:87%}.settings-grid{gap:18px}.settings-panel{padding:23px 20px}.settings-panel>p{font-size:11px}.button-row .button{font-size:11px;padding:10px 13px}dialog{padding:23px 18px}.dialog-heading h2{font-size:24px}.dialog-heading{margin-bottom:20px}.check-field{font-size:10px}.dialog-actions{margin-top:20px}.toast{bottom:16px;font-size:11px;padding:12px 17px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important}.engine-tile:hover,.tool-card:hover,.button.primary:hover{transform:none}}
@media print{.sidebar,.work-header,.workspace-footer,.toolbar-actions,.input-summary,.skip-link,.toast,.page-heading>.button{display:none!important}.workspace-main{margin:0}.work-content{padding:0}.workspace-shell,.report-view,.result-section,.palace{background:white;color:#152638}.result-section{break-inside:avoid;border-color:#bac7d0}.result-section p,.data-table td,.data-table th,.palace p{color:#243d4d}.table-wrap{overflow:visible}body{background:white}}
#home-input{border:0;background:transparent;min-height:0;padding:0;box-shadow:none}
.bazi-pillars.chart-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.chart-scroll{overflow-x:auto;max-width:100%;padding-bottom:8px}.hexagram.panel{padding:22px}.hexagram h4{margin:0 0 18px;font-weight:500;color:var(--gold)}.hexagram-lines{margin:18px 0 22px}.hexagram>p{font-size:13px;line-height:1.9}.ziwei-grid .palace>header{display:flex;justify-content:space-between;gap:6px}.ziwei-grid .palace>header span{color:var(--muted)}.ziwei-grid .palace .ziwei-star{display:inline-block;margin-right:6px}
.qimen-grid .palace>header{display:flex;justify-content:space-between;gap:8px;align-items:baseline;font-size:12px}.qimen-grid .palace>header>span{font-size:11px;color:var(--muted)}.qimen-grid .palace-main{display:flex;justify-content:space-between;gap:8px}.qimen-grid .palace-main strong{font-weight:500;white-space:nowrap}.qimen-grid .palace-stems{display:flex;flex-wrap:wrap;gap:4px 12px;font-size:16px;letter-spacing:1px}.qimen-grid .palace-stems span{white-space:nowrap}.qimen-grid .palace>footer{font-size:10px;color:var(--muted);margin-top:9px}
@media(max-width:600px){.qimen-grid .palace>header{display:block;font-size:12px}.qimen-grid .palace>header>span{display:block;font-size:9px;margin-top:3px}.qimen-grid .palace-main{display:block;font-size:13px}.qimen-grid .palace-main strong{display:block;line-height:1.7}.qimen-grid .palace-stems{display:block;font-size:12px;letter-spacing:0}.qimen-grid .palace-stems span{display:block}.qimen-grid .palace>footer{font-size:9px;line-height:1.6}}
