@font-face{font-family:ArchiveSerif;src:local('Songti SC'),local('Noto Serif CJK SC'),local('SimSun')}*{box-sizing:border-box}:root{--paper:#f8f7f3;--card:#fffefa;--ink:#203830;--muted:#7b8275;--green:#213c33;--rust:#aa4c34;--line:#dce0d5;--soft:#edf0e5;--serif:ArchiveSerif,Georgia,serif}body{margin:0;background:var(--paper);color:var(--ink);font:15px/1.6 -apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none}button:disabled{cursor:wait;opacity:.6}button:hover,a:hover{color:var(--rust)}a{color:inherit;text-underline-offset:5px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #b98452;outline-offset:3px}.site-header{height:93px;background:var(--green);color:#e7eadf;padding:0 5.1%;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;font:25px var(--serif);letter-spacing:3px;white-space:nowrap}.brand small{display:block;font:10px sans-serif;letter-spacing:3px;margin-top:8px;color:#b3c3b3}.seal{background:#b95339;color:#fff3dd;font:33px var(--serif);padding:6px 10px;border-radius:4px;letter-spacing:0}.site-header nav{display:flex;margin-left:auto;gap:32px;align-items:center;height:100%}.site-header nav>a,.site-header nav>button{font-size:14px;text-decoration:none;color:#b5c4b5;display:flex;align-items:center;height:100%;padding:0;border-bottom:3px solid transparent;border-top:3px solid transparent}.site-header nav .active{color:#ffeed3;border-bottom-color:#c4825d}.site-header nav a span{margin-left:7px}.local-badge{font-size:11px;border:1px solid #607366;color:#c6d1bd;border-radius:20px;padding:3px 10px;margin-left:15px;white-space:nowrap}main{max-width:1460px;margin:auto;padding:36px 5.1% 0}.eyebrow{font-size:11px;letter-spacing:2px;color:#8a806c}h1,h2,h3{font-family:var(--serif);font-weight:500;line-height:1.4}h1{font-size:34px;letter-spacing:3px;margin:12px 0 10px}h2{font-size:23px;margin:0 0 17px}h3{font-size:19px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:30px}.page-heading p{font-size:14px;color:var(--muted);margin:0}.steps{display:flex;align-items:center;gap:12px;font-size:12px;white-space:nowrap;color:#939887}.steps i{width:23px;height:1px;background:#c8cebe}.steps .active{color:var(--rust)}.chart-layout,.divination-layout{display:grid;grid-template-columns:300px minmax(0,1fr);gap:25px;align-items:start}.input-card{background:var(--card);border:1px solid var(--line);border-radius:6px;padding:24px}.panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:19px}.panel-title h2{font-size:21px;margin:0}.text-button{font-size:12px;color:var(--rust);padding:0;white-space:nowrap}.subtle{color:#8a8f7e;margin-top:17px}.input-card label{display:block;font-size:13px;color:#4e5e4c;margin:0 0 18px}.input-card label>span:not(.upload-icon){color:#959b8c;font-size:11px;float:right}.input-card input:not([type=checkbox]),.input-card select,.input-card textarea{display:block;width:100%;background:#fbfcf6;border:1px solid #d9dfd1;border-radius:4px;padding:11px 10px;margin-top:7px;min-width:0;font-size:14px;min-height:43px}.input-card textarea{resize:vertical}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:11px}.input-card details{border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:18px}.input-card summary{font-size:12px;cursor:pointer;color:#78856a}.input-card details[open] summary{margin-bottom:17px}.input-card .check{display:flex;align-items:center;gap:7px;font-size:12px;line-height:1.5}.check input{width:15px;height:15px;accent-color:var(--green)}.primary{background:var(--green);color:#f8f0df;padding:13px 18px;border-radius:4px;width:100%;font-size:14px;display:flex;align-items:center;justify-content:space-between}.primary:hover{background:#314e3f;color:white}.privacy-note{font-size:11px;line-height:1.9;color:#8b9381;margin:17px 0 0}.hint{font-size:12px;line-height:1.85;color:#8a9180}.error{font-size:13px;color:#ad3828;background:#fff0e9;padding:10px;border-radius:4px;line-height:1.8}.system-switch{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;padding:5px;border:1px solid var(--line);background:#eef0e7;border-radius:6px;margin-bottom:17px}.system-switch button{padding:11px 4px 10px;border-radius:4px;color:#73816c;font-size:15px}.system-switch button small{display:block;font-size:10px;letter-spacing:1px;margin-top:3px;color:#8c977e}.system-switch button.active{background:var(--card);box-shadow:0 1px 5px #2038300b;color:var(--ink)}.system-switch button.active small{color:#8a6949}.chart-panel{background:var(--card);border:1px solid var(--line);border-radius:6px;padding:25px;min-height:430px}.chart-empty{text-align:center;padding:40px 12px 20px;min-height:380px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty-mark{font:47px var(--serif);color:#5b765b;border:1px solid #c4ceb6;padding:13px 23px;background:#eff2e7;outline:1px solid #d9dfcc;outline-offset:6px;margin-bottom:29px}.chart-empty h2{font-size:25px;letter-spacing:2px;margin-bottom:11px}.chart-empty p{font-size:14px;color:var(--muted);line-height:2;margin:0 0 23px}.outline{padding:9px 17px;font-size:13px;border:1px solid #bac6ac;border-radius:4px}.empty-bottom{display:flex;gap:35px;font-size:11px;color:#969d89;margin-top:45px}.chart-title{display:flex;align-items:flex-start;justify-content:space-between;gap:13px;border-bottom:1px solid var(--line);padding-bottom:18px;margin-bottom:20px}.chart-title h2{font-size:25px;margin:2px 0 4px}.chart-title p{font-size:12px;margin:0;color:var(--muted)}.chart-type{font-size:11px;background:var(--soft);color:#677b59;border:1px solid #d8dfcc;padding:4px 9px;white-space:nowrap;border-radius:3px}.chart-meta{font-size:11px;color:#939b85;margin:17px 0 0;line-height:1.9}.method-warning{padding:9px 12px;background:#f8edde;color:#9b6a35;font-size:12px;margin:10px 0;border-radius:4px}.zi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));grid-template-rows:repeat(4,minmax(115px,auto));border-top:1px solid #cfd8c3;border-left:1px solid #cfd8c3;background:#fcfdf7}.zi-cell{text-align:left;padding:9px;border:0;border-bottom:1px solid #cfd8c3;border-right:1px solid #cfd8c3;display:flex;flex-direction:column;gap:5px;min-width:0;position:relative}.zi-cell:hover{background:#edf2e3}.zi-cell .palace-name{font:16px var(--serif);color:#516b46}.zi-cell .stars{font-size:12px;color:#8e523e;line-height:1.8}.zi-cell .star-state{color:#9c9f8b;font-size:10px;margin-left:3px}.zi-cell .minor{color:#979f8b;font-size:10px}.zi-cell .branch{margin-top:auto;font-size:10px;color:#8b967a;display:flex;justify-content:space-between}.zi-center{grid-area:2/2/4/4;border-right:1px solid #cfd8c3;border-bottom:1px solid #cfd8c3;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:14px;text-align:center;background:#eff2e7}.zi-center h3{font-size:27px;letter-spacing:5px;margin:5px 0 12px}.zi-center p{font-size:12px;line-height:2;color:#798368;margin:0}.zi-center .center-label{font-size:10px;letter-spacing:3px;color:#9ca187}.pillar-table{width:100%;border-collapse:collapse;text-align:center}.pillar-table th{font-size:12px;font-weight:400;padding:12px 3px;color:#879274;background:#eff2e7}.pillar-table td{font-size:13px;padding:13px 3px;border-bottom:1px solid #e7ecdc}.pillar-table td:first-child{font-size:11px;color:#909982;white-space:nowrap}.pillar-table .pillar-char{font:30px var(--serif);letter-spacing:4px}.pillar-table .day-master{background:#f6efe0;color:#9e6f38}.element-bars{display:grid;grid-template-columns:repeat(5,1fr);gap:13px;margin:24px 0 10px}.element-bars label{font-size:13px;color:#758168}.element-bars strong{float:right;font-weight:400}.bar-bg{height:5px;background:#e7ebdf;margin-top:8px;border-radius:2px}.bar-bg i{display:block;height:100%;background:#849c66;border-radius:2px}.cycles{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin:14px 0}.cycle{padding:10px 5px;border:1px solid var(--line);text-align:center;border-radius:4px}.cycle b{font:19px var(--serif);display:block}.cycle small{font-size:10px;color:#929b82;display:block}.cycle.active{background:#eaf0df;border-color:#acbc94}.chart-subheading{font-size:17px;margin:22px 0 10px}.sky-layout{display:grid;grid-template-columns:minmax(210px,1fr) minmax(225px,1fr);align-items:center;gap:18px}.sky-wheel{width:100%;display:block}.planet-table{width:100%;border-collapse:collapse;font-size:12px}.planet-table td{border-bottom:1px solid #e9edde;padding:7px 3px;white-space:nowrap}.planet-table td:first-child{color:#7a896e}.planet-table td small{font-size:9px;color:#b07c4c;margin-left:4px}.planet-table th{font-size:11px;font-weight:400;color:#929b83;text-align:left;padding:6px 3px}.sky-top{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:20px}.sky-top>div{border:1px solid var(--line);border-radius:4px;padding:9px 14px;flex:1}.sky-top small{font-size:11px;color:#8a937d;display:block}.sky-top b{font:18px var(--serif)}.reading-panel{background:var(--card);border:1px solid var(--line);padding:25px;border-radius:6px;margin-top:20px}.reading-panel .panel-title h2{font-size:22px;margin-top:5px}.mode-tag{font-size:10px;color:#8f9c80;border:1px solid #d8dfcd;border-radius:3px;padding:4px 8px;white-space:nowrap}.reading-hint{margin:-5px 0 18px}.messages{display:flex;flex-direction:column;gap:19px}.message{display:flex;gap:11px}.message-avatar{flex-shrink:0;width:29px;height:29px;background:#e9eddf;display:flex;align-items:center;justify-content:center;font:17px var(--serif);border-radius:3px;color:#698258}.message-content{flex:1;min-width:0}.message-content p{font-size:14px;line-height:1.95;margin:0 0 10px;color:#5e6d53}.message.user{align-self:flex-end;max-width:90%;background:#edf1e5;padding:9px 14px;border-radius:5px}.message.user p{margin:0;font-size:14px}.suggestions{display:flex;flex-wrap:wrap;gap:7px;margin-top:14px}.suggestions button{font-size:12px;border:1px solid #d9e1cb;padding:7px 10px;border-radius:4px;color:#738162;text-align:left;background:#fcfdf8}.suggestions button:hover{background:#eaf0df}.reading-source{font-size:11px;color:#9c8261}.chat-form{display:flex;align-items:center;border:1px solid #d8dfcd;border-radius:5px;background:#f8faf2;padding:8px 9px 8px 13px;margin-top:23px;gap:8px}.chat-form input{border:0;background:none;flex:1;min-width:0;font-size:13px;outline:0}.chat-form:focus-within{border-color:#8c9e75}.chat-form button{background:var(--green);color:white;border-radius:3px;width:30px;height:30px;font-size:22px}.divination-switch{display:flex;background:#eff2e7;border:1px solid var(--line);padding:4px;border-radius:4px;margin:22px 0 16px}.divination-switch button{flex:1;padding:8px;font-size:14px}.divination-switch button.active{background:white;border-radius:3px;box-shadow:0 1px 3px #10241010}.div-panel{min-height:445px}.tarot-spread{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:23px 0}.tarot-card{border:1px solid #b9c8ac;border-radius:5px;text-align:center;background:#f1f3e8;padding:19px 11px;min-height:235px;display:flex;flex-direction:column;justify-content:center;position:relative}.tarot-card .position-label{position:absolute;top:13px;left:13px;font-size:10px;color:#869773;letter-spacing:2px}.tarot-card .card-number{font:italic 42px Georgia,serif;color:#a8b594;margin:26px 0 14px}.tarot-card h3{font-size:24px;letter-spacing:2px;margin:0 0 9px}.tarot-card .orientation{font-size:11px;color:#9e714d}.tarot-card .suit{font-size:10px;color:#8a9a76;letter-spacing:2px;margin-top:17px}.tarot-card.reversed{background:#f5eee6;border-color:#d0bca5}.tarot-card.reversed .card-number{color:#c2a68b}.spread-question{font-size:14px;line-height:1.8;color:#718062;padding-bottom:16px;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.cast-columns{display:flex;justify-content:center;gap:40px;text-align:center;padding:15px 0}.hex-lines{display:flex;flex-direction:column-reverse;gap:14px;margin:20px 0}.hex-row{display:flex;align-items:center;gap:7px;height:17px}.hex-row .line{width:105px;display:flex;justify-content:space-between;gap:17px}.hex-row .line i{height:7px;flex:1;background:#557a52}.hex-row.moving .line i{background:#b7754e}.hex-row.empty .line i{background:#e5eadd}.hex-row .line-label{font-size:10px;color:#8b977d;min-width:35px}.hex-row .value{font-size:11px;color:#9e794e;width:18px}.cast-columns h3{margin:10px 0;font-size:23px;letter-spacing:3px}.cast-columns small{font-size:11px;color:#89977a}.coin-result{font-size:13px;background:#f2f5e9;border-radius:4px;padding:13px;text-align:center;color:#6e8058}.face-layout{display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:start}.face-layout .reading-panel{margin:0}.face-layout .reading-panel>h2{margin-top:12px}.upload-box{display:flex!important;flex-direction:column;align-items:center;justify-content:center;min-height:310px;border:1px dashed #b3c3a3;background:#f4f6ec;padding:25px;border-radius:4px;cursor:pointer;position:relative}.upload-box .upload-icon{font-size:42px;font-weight:200;color:#91a57f}.upload-box strong{font-size:16px;font-weight:400;margin:16px 0}.upload-box>span:not(.upload-icon){font-size:12px!important;float:none!important}.upload-box input{position:absolute;inset:0;opacity:0;cursor:pointer}.photo-card img{display:block;max-width:100%;max-height:400px;margin:15px auto;object-fit:contain;border-radius:4px}.face-note{border-top:1px solid var(--line);padding:19px 0}.face-note b{font:19px var(--serif);font-weight:500}.face-note p{font-size:14px;color:#78876b;line-height:1.9}.source-link{font-size:12px;color:#986c43}.app-footer{max-width:1460px;margin:43px auto 0;padding:21px 5.1% 27px;display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);font-size:11px;color:#939d86}.app-footer i{margin:0 10px}.app-footer button{font-size:11px;padding:0}dialog{padding:0;border:1px solid var(--line);border-radius:6px;width:min(690px,calc(100% - 28px));max-height:88dvh;background:var(--card);color:var(--ink)}dialog::backdrop{background:#142d2399;backdrop-filter:blur(4px)}.modal-top{display:flex;justify-content:space-between;align-items:center;padding:20px 25px;border-bottom:1px solid var(--line)}.modal-top h2{font-size:23px;margin:0}.modal-top button{font-size:22px}.modal-body{padding:13px 25px 26px;font-size:14px;line-height:2;color:#758369}.modal-body li{margin:12px 0}.modal-body ul{padding-left:19px}#toast{position:fixed;bottom:23px;left:50%;transform:translate(-50%,80px);opacity:0;z-index:100;background:#203b32;color:#f8f0e0;font-size:13px;padding:12px 23px;border-radius:4px;max-width:90vw;transition:.2s;pointer-events:none}#toast.show{transform:translate(-50%,0);opacity:1}.skip{position:absolute;top:-100px;background:#fff;padding:12px;z-index:100}.skip:focus{top:0}[hidden]{display:none!important}@media(min-width:1500px){.chart-layout,.divination-layout{grid-template-columns:325px minmax(0,1fr)}.zi-grid{grid-template-rows:repeat(4,130px)}}@media(max-width:1050px){.site-header{padding:0 4%;gap:15px}.site-header nav{gap:20px}.local-badge{display:none}main{padding:29px 4% 0}.chart-layout,.divination-layout{grid-template-columns:265px minmax(0,1fr);gap:18px}.steps{display:none}.input-card{padding:20px}.chart-panel,.reading-panel{padding:20px}.sky-layout{grid-template-columns:1fr}.sky-wheel{max-width:290px;margin:auto}.zi-grid{grid-template-rows:repeat(4,minmax(108px,auto))}.zi-cell{padding:7px}.zi-center h3{font-size:23px}.zi-center p{font-size:11px}.tarot-spread{gap:9px}.tarot-card{min-height:210px;padding:17px 6px}.tarot-card h3{font-size:20px}.empty-bottom{gap:17px}.reading-panel .panel-title{align-items:flex-start}.reading-panel .panel-title h2{font-size:21px}.mode-tag{font-size:9px}}@media(max-width:760px){.site-header{height:auto;padding:18px 21px 0;flex-wrap:wrap;gap:16px}.brand{font-size:23px}.brand small{font-size:9px}.seal{font-size:28px;padding:5px 9px}.site-header nav{width:100%;height:45px;justify-content:space-between;gap:12px;margin:0}.site-header nav>button,.site-header nav>a{font-size:13px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:28px;letter-spacing:2px;margin-top:9px}.page-heading p{font-size:13px;line-height:1.8}main{padding:26px 20px 0}.chart-layout,.divination-layout,.face-layout{grid-template-columns:1fr;gap:20px}.input-card{padding:21px}.input-card form{display:grid;grid-template-columns:1fr 1fr;column-gap:13px}.input-card form>.form-row{display:contents}.input-card form>label:first-child,.input-card form>details,.input-card form>.check,.input-card form>.primary,.input-card form>.error,.input-card form>.privacy-note{grid-column:1/-1}.input-card form>label:nth-child(5){grid-column:1/-1}.input-card form>label:nth-child(7){grid-column:1/-1}.input-card form>.privacy-note{margin-top:12px}.input-card form>.privacy-note br{display:none}.input-card label{font-size:12px;margin-bottom:15px}.system-switch button{font-size:14px;padding:11px 2px}.system-switch button small{font-size:9px;letter-spacing:0}.chart-panel,.reading-panel{padding:17px}.chart-title h2{font-size:22px}.zi-grid{grid-template-rows:repeat(4,minmax(108px,auto))}.zi-cell .palace-name{font-size:14px}.zi-cell .stars{font-size:11px}.zi-cell .minor{font-size:9px}.zi-center{padding:5px}.zi-center h3{font-size:22px}.zi-center p{font-size:10px}.zi-center .center-label{font-size:9px}.zi-cell .star-state{font-size:9px}.chart-meta{font-size:10px}.sky-layout{grid-template-columns:1fr}.sky-wheel{max-width:340px}.planet-table{font-size:13px}.sky-top{gap:8px}.sky-top>div{padding:9px}.sky-top b{font-size:17px}.cycles{grid-template-columns:repeat(3,1fr)}.pillar-table .pillar-char{font-size:24px;letter-spacing:2px}.pillar-table td{font-size:12px}.pillar-table td:first-child{font-size:10px}.reading-panel .panel-title h2{font-size:21px}.reading-panel .panel-title{gap:8px}.reading-panel .panel-title .eyebrow{font-size:10px}.reading-panel .mode-tag{display:none}.suggestions{flex-direction:column;align-items:stretch}.suggestions button{font-size:12px}.chat-form input{font-size:12px}.app-footer{margin-top:29px;padding:19px 20px 25px;flex-direction:column;font-size:10px}.app-footer button{text-align:left;font-size:11px}.chart-empty{min-height:310px}.chart-empty h2{font-size:23px}.chart-empty p{font-size:13px}.empty-bottom{gap:15px;font-size:10px;margin-top:28px}.tarot-card{min-height:210px}.tarot-card h3{font-size:19px;letter-spacing:1px}.tarot-card .card-number{font-size:34px}.tarot-card .suit{font-size:9px;letter-spacing:0}.cast-columns{gap:22px}.hex-row .line{width:90px}.page-heading>.mode-tag{display:none}.face-layout .upload-box{min-height:240px}.modal-body{font-size:13px}.brand:hover{color:white}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

.location-field{grid-column:1/-1;margin-bottom:18px}.location-field>label{margin-bottom:7px}.location-field>input{width:100%;box-sizing:border-box}.location-field .hint{font-size:11px;line-height:1.7;margin:8px 0 0;overflow-wrap:anywhere}.location-results{border:1px solid var(--line);border-radius:4px;background:var(--card);max-height:220px;overflow:auto;margin-top:5px}.location-results button{display:block;width:100%;padding:10px 12px;text-align:left;font-size:13px;line-height:1.6;border-bottom:1px solid var(--line)}.location-results button:last-child{border-bottom:0}.location-results button:hover,.location-results button:focus-visible{background:#eaf0df}

.conversation-context{font-size:12px;color:#6c7e61;padding:9px 12px;background:#eff2e7;border-radius:4px;margin:0 0 12px}.chat-topics{display:flex;gap:8px;flex-wrap:wrap;padding-bottom:20px;margin-bottom:22px;border-bottom:1px solid var(--line)}.chat-topics button{font-size:12px;border:1px solid var(--line);border-radius:20px;padding:6px 12px;background:#fafbf5}.chat-topics button:hover{background:#eaf0df}.message-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px;color:#7d8a70;font-size:12px}.message-content .typing-skip{font-size:11px;color:var(--rust);border:1px solid #ddcaba;border-radius:4px;padding:3px 8px;flex-shrink:0}.message-content .answer-prose p{font-size:16px;line-height:2.05;color:#43543f;margin-bottom:19px;overflow-wrap:anywhere}.message-content .followup-label{font-size:12px;color:#839077;margin:18px 0 8px}.answer-followup .suggestions{margin-top:0;display:grid;grid-template-columns:1fr}.answer-followup .suggestions button{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;font-size:13px}.message-avatar{width:33px;height:33px;background:var(--green);color:#ede6cf}.message.user{flex-direction:column;gap:3px;padding:12px 17px;max-width:85%;margin:10px 0}.user-label{font-size:10px;color:#879479}.message.user p{font-size:15px;line-height:1.8;overflow-wrap:anywhere}.typing-line::after{content:'▍';color:var(--rust);animation:caret-pulse .85s infinite}@keyframes caret-pulse{50%{opacity:.15}}@media(max-width:760px){.message-content .answer-prose p{font-size:15px;line-height:2}.message{gap:9px}.message-avatar{width:28px;height:28px}.chat-topics{gap:6px}.chat-topics button{font-size:11px;padding:5px 9px}}@media(prefers-reduced-motion:reduce){.typing-line::after{animation:none}}

.reading-actions{display:flex;flex-direction:column;align-items:flex-end;gap:9px}.chat-form textarea{border:0;background:none;flex:1;min-width:0;font-size:15px;line-height:1.8;outline:0;resize:vertical;min-height:55px;max-height:200px}.chat-form{align-items:flex-end}.chat-form button{flex-shrink:0}.dialogue-focus .chart-layout{display:block;max-width:850px;margin:auto}.dialogue-focus .input-card,.dialogue-focus #chart-result,.dialogue-focus .page-heading{display:none}.dialogue-focus .reading-panel{margin-top:18px;padding:30px}.dialogue-focus .system-switch{position:sticky;top:0;z-index:3}.dialogue-focus .reading-panel .chat-form{position:sticky;bottom:12px;background:var(--card);box-shadow:0 4px 18px #2038300c}.dialogue-focus .message-content .answer-prose p{color:#354b38}.dialogue-focus #reading{scroll-margin-top:82px}@media(max-width:760px){.dialogue-focus .reading-panel{padding:17px}.reading-actions .text-button{font-size:11px}.chat-form textarea{font-size:14px}}

.ai-settings-open{cursor:pointer}.ai-settings-open:hover{color:#fff5dd;border-color:#b38d63}.ai-settings-form{display:grid;gap:9px}.ai-settings-form input,.ai-settings-form select{width:100%;min-width:0;padding:11px;border:1px solid var(--line);background:var(--paper);border-radius:4px}.ai-settings-form label{font-size:13px;margin-top:7px}.ai-enabled{display:flex;gap:8px;align-items:center;margin-top:22px}.ai-read{font-size:13px;margin:0 0 16px}.ai-answer-label{font-size:10px;color:#8a7860;margin-left:8px}.ai-notice{font-size:13px!important;color:#8a684e!important;background:#f7efe6;padding:10px;border-radius:4px}.ai-controls{display:flex;gap:8px;align-items:center}.ai-controls button{font-size:11px;color:var(--rust);padding:3px 8px;border:1px solid var(--line);border-radius:4px}.ai-pending{color:#89927d;font-size:13px}.ai-streaming .answer-prose p:last-child::after{content:'▍';color:var(--rust);animation:caret-pulse .85s infinite}@media(max-width:1050px){.site-header .ai-settings-open{display:block;margin-left:auto}}@media(max-width:760px){.site-header .ai-settings-open{order:0;font-size:10px}.site-header nav{order:1}}
