*{box-sizing:border-box}body{margin:0;background:#f1dfd0;color:#302d29;font:16px/1.9 Georgia,'Songti SC',serif}main{max-width:760px;margin:32px auto;padding:32px;background:#fffdf4}h1{font-size:30px;font-weight:500}h2{font-size:32px;margin:36px 0 16px}h3{font:600 18px/1.6 -apple-system,'PingFang SC',sans-serif;margin:30px 0 12px}p{margin:12px 0}.notice{background:#f4eadc;padding:16px;color:#625246}select{display:block;width:100%;padding:12px;margin:8px 0 28px;font:inherit;border:1px solid #bda894;background:#fffdf4;color:#302d29}section{margin:28px 0}details{font-size:14px;color:#685c52;margin:16px 0}summary{cursor:pointer;padding:8px 0}li{margin:9px 0}.tag{color:#8e594c}.hint{font-size:14px;color:#71655b}select:focus,summary:focus{outline:2px solid #985c50;outline-offset:3px}@media(max-width:600px){main{margin:12px;padding:22px}h1{font-size:25px}}

button{display:block;width:100%;padding:16px;margin:14px 0;border:1px solid #c6ada0;background:#fffaf0;color:#3f3630;border-radius:3px;font:inherit;cursor:pointer;text-align:left;min-height:48px}button:focus{outline:2px solid #985c50;outline-offset:3px}.selected,.primary{background:#a85f53;color:#fffdf4;border-color:#a85f53}.actions{display:flex}.actions button{flex:1;text-align:center}.actions button+button{margin-left:12px}button:disabled{opacity:.45;cursor:default}progress{width:100%;accent-color:#a85f53}h2{line-height:1.7;font-size:27px}.feature{padding:12px 0}.hint{font-family:-apple-system,'PingFang SC',sans-serif}details p{font-size:15px}.selected:after{content:'　已选'}
.result-hero{text-align:center;padding:28px 0 34px;border-bottom:1px solid #d7c5b8}.result-hero h1{font-size:46px;margin:18px 0;color:#302d29}.result-hero p{color:#806354}.result-section{padding:22px 0 10px}.result-section h3{font:600 19px/1.6 -apple-system,'PingFang SC',sans-serif;color:#6f4e43;margin:10px 0 16px}.result-section p{font-size:17px;line-height:2}.result-report>.hint{margin:30px 0}#save-preview a{display:block;padding:16px;color:#804c40}#save-preview img{height:auto;display:block}

.result-section p{white-space:pre-line}.result-section{padding:26px 0 16px}.result-section h3{font-size:20px}
/* 参考图的归类逻辑：总览、分节、节内并列，而非逐条平铺 */
.result-report{margin-top:8px}.result-hero{background:#fffdf8;border:1px solid #e0cfc0;border-radius:16px;padding:32px 24px;margin:0 0 22px}.result-hero h1{font-size:48px;margin:18px 0 8px}.result-section{background:#fffdf8;border:1px solid #e0cfc0;border-radius:14px;padding:24px;margin:20px 0}.result-section h3{margin:0 0 20px;font-size:21px;color:#60473e}.result-section>p:empty{display:none}.result-section p{font-size:16px;line-height:2;margin:12px 0}.insight-grid{display:flex;flex-wrap:wrap;margin:16px -6px 0}.insight-box{flex:1;min-width:180px;background:#faf2e9;border-radius:10px;margin:6px;padding:18px}.insight-box h4{font:600 16px/1.7 -apple-system,'PingFang SC',sans-serif;margin:0 0 10px;color:#674b40}.insight-box p{margin:0;font-size:15px;line-height:1.95}.result-section blockquote{margin:8px 0 12px;font-size:24px;line-height:1.9;color:#985c50}.report-ending{background:#f7ecdf}.result-report>.hint{text-align:center;padding:8px 16px;font-size:12px}@media(max-width:480px){.result-hero{padding:28px 16px}.result-hero h1{font-size:38px}.result-section{padding:20px}.result-section h3{font-size:19px}.insight-box{min-width:100%;margin:6px 0}.insight-grid{margin:14px 0 0}.result-section blockquote{font-size:22px}}
.real-paragraph{margin:22px 0 28px}.real-paragraph h4,.result-section>h4,.nearby-person h4{font:600 17px/1.7 -apple-system,'PingFang SC',sans-serif;color:#8c584b;margin:22px 0 10px}.real-paragraph .real-lead{font-size:19px;color:#302d29;line-height:1.85;margin-bottom:10px}.real-paragraph p:not(.real-lead){color:#655a52;margin-top:0}.nearby-person{padding:4px 0 16px}.report-ending p{font-size:23px;line-height:1.9;color:#7b4e43}

.last-result{margin-top:30px;padding:22px 24px;border:1px solid #e0cfc0;border-radius:14px;background:#fffdf8}.last-result h2{margin:0 0 12px;font-size:21px;color:#60473e}.last-result p{font-size:16px;line-height:1.8}.last-result .hint{font-size:12px;color:#76675d;margin-bottom:0}.last-result button{margin-bottom:12px}

/* Only the access forms and independent admin controls extend the confirmed UI. */
label{display:block;margin:20px 0 8px;font:500 16px/1.7 -apple-system,'PingFang SC',sans-serif}input,textarea{width:100%;padding:12px;min-height:48px;border:1px solid #bda894;background:#fffdf4;color:#302d29;font:16px/1.7 -apple-system,'PingFang SC',sans-serif;border-radius:3px}textarea{min-height:160px;resize:vertical;overflow-wrap:anywhere}input[type=checkbox]{width:20px;min-height:20px;margin-right:10px;vertical-align:middle;accent-color:#a85f53}.status{font:15px/1.8 -apple-system,'PingFang SC',sans-serif;color:#8a3429;overflow-wrap:anywhere}.status:empty{display:none}.small{font:14px/1.8 -apple-system,'PingFang SC',sans-serif;color:#71655b}.credential{overflow-wrap:anywhere}.brand{color:#71655b;text-decoration:none;font-size:18px}.admin-table{overflow:auto}table{width:100%;border-collapse:collapse;font:14px/1.6 -apple-system,'PingFang SC',sans-serif}th,td{text-align:left;padding:12px 8px;border-bottom:1px solid #d7c3b3;white-space:nowrap}.admin-table td button{display:block;padding:8px;font-size:13px;min-height:40px}.admin-table .row-actions{white-space:normal;min-width:180px;width:190px}:focus-visible{outline:2px solid #985c50;outline-offset:3px}
.phone-image-preview{width:min(94vw,680px);max-width:none;max-height:90vh;max-height:90dvh;margin:auto;padding:18px;border:1px solid #c6ada0;border-radius:14px;background:#fffdf4;color:#302d29;overflow:hidden}
.phone-image-preview[open]{display:flex;flex-direction:column}
.phone-image-preview::backdrop{background:rgba(48,36,29,.55)}
.phone-image-header{display:flex;align-items:center;justify-content:space-between;gap:12px;flex:none}
.phone-image-header h2{margin:0;font:600 20px/1.5 -apple-system,'PingFang SC',sans-serif}
.phone-image-header button{width:auto;flex:none;margin:0;padding:10px 12px;min-height:44px;font:15px/1.5 -apple-system,'PingFang SC',sans-serif;text-align:center}
.phone-image-instruction{flex:none;margin:14px 0;font:16px/1.7 -apple-system,'PingFang SC',sans-serif;color:#60473e}
.phone-image-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.phone-image-scroll img{display:block;width:100%;height:auto;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}
