/* R308 source /compass/numerology.css */
/* R174: shared home-page tokens; a single form followed by a single report. */
.nm-page{--nm-ink:var(--dq-color-text,#173448);--nm-gold:var(--dq-color-accent-soft,#f4d68d);--nm-border:var(--dq-color-border,#b98d4c)}
.nm-content{display:grid;gap:var(--dq-space-4,16px);min-width:0;padding-bottom:calc(130px + env(safe-area-inset-bottom,0px))!important}.nm-content>*{min-width:0}
.nm-form-wrap{min-width:0}.nm-form-wrap>summary{display:flex;align-items:center;min-height:44px;padding:12px 16px;border:1px solid var(--nm-border);border-radius:var(--dq-radius-pill,999px);background:var(--dq-color-button-gradient);color:var(--nm-gold);font:700 13px/1.6 var(--dq-font-body);cursor:pointer;list-style:none;overflow-wrap:anywhere}.nm-form-wrap>summary:after{content:'+';margin-left:12px;font-size:20px;flex:none}.nm-form-wrap[open]>summary:after{content:'−'}.nm-form-wrap>summary::-webkit-details-marker{display:none}.nm-form-card{margin-top:12px;padding:20px!important}.nm-form-card form{gap:18px}.nm-form-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,.65fr);gap:12px}.nm-form-card .dq-field{min-width:0}.nm-form-card .dq-input{box-sizing:border-box;width:100%;min-width:0;max-width:100%;font:14px/1.4 var(--dq-font-body);min-height:48px}.nm-form-card input[type=date]{appearance:none;min-width:0}
.nm-gender-field{padding:0;margin:0;border:0;min-width:0}.nm-gender-field legend{font:700 13px/1.5 var(--dq-font-body);margin-bottom:8px;color:var(--nm-ink)}.nm-gender{position:relative;display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--nm-border);border-radius:999px;background:var(--dq-color-button-gradient);padding:4px;isolation:isolate;overflow:hidden}.nm-gender label{position:relative;display:grid;place-items:center;min-height:44px;cursor:pointer;font-weight:700;color:var(--nm-gold);border-radius:999px}.nm-gender input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:2}.nm-gender span:not(.nm-gender-slider){position:relative;pointer-events:none;z-index:1}.nm-gender-slider{position:absolute;top:4px;bottom:4px;left:4px;width:calc(50% - 4px);border-radius:999px;background:var(--dq-color-chip-gradient);transition:transform 240ms ease,opacity 160ms ease;z-index:0;opacity:0}.nm-gender[data-selection=male] .nm-gender-slider{opacity:1}.nm-gender[data-selection=female] .nm-gender-slider{opacity:1;transform:translateX(100%)}.nm-gender label:has(input:checked){color:var(--nm-ink)}.nm-gender label:has(input:focus-visible){outline:2px solid var(--nm-gold);outline-offset:-3px}.nm-primary{width:100%;justify-content:center;border-radius:999px!important;min-height:50px}.nm-form-note{font-size:11px;line-height:1.75;color:var(--dq-color-muted)}
.nm-loading{text-align:center;padding:28px 20px!important}.nm-loading h2{margin:12px 0;font:700 22px/1.5 var(--dq-font-display);color:var(--nm-ink)}.nm-loading p{line-height:1.85}.nm-loading small{display:block;color:var(--dq-color-muted);font-size:12px;margin:10px 0 18px;line-height:1.75}.nm-orbit{display:block;width:44px;height:44px;border:2px solid #b98d4c44;border-top-color:var(--nm-border);border-radius:50%;margin:auto;animation:nm-spin 1.2s linear infinite}.nm-error{border:1px solid var(--dq-color-caution,#9e3d27)!important;color:var(--dq-color-caution,#9e3d27);padding:20px!important;line-height:1.85}.nm-error .dq-button{margin-top:12px}.nm-report{display:grid;gap:20px;min-width:0}.nm-report-profile{padding:22px 16px;text-align:center;color:var(--nm-gold);border:1px solid var(--nm-border);border-radius:var(--dq-radius-card,20px);background:var(--dq-color-button-gradient)}.nm-report-profile>small{font-size:10px;letter-spacing:1.2px}.nm-report-profile h1{font:700 clamp(23px,5vw,32px)/1.55 var(--dq-font-display);margin:8px 0;overflow-wrap:anywhere}.nm-report-profile p{font-size:12px;line-height:1.8;margin:0}.nm-report-section{padding:24px 20px!important;color:var(--nm-ink);min-width:0;scroll-margin-top:20px}.nm-report-section>header{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:start;margin-bottom:22px;border-bottom:1px solid #b98d4c55;padding-bottom:16px}.nm-report-section>header>small{display:grid;place-items:center;min-width:32px;min-height:32px;border:1px solid var(--nm-border);border-radius:50%;color:var(--dq-color-neutral,#805b25);font-size:12px;font-weight:700}.nm-report-section h2{font:700 18px/1.7 var(--dq-font-display);margin:0;color:var(--nm-ink)}.nm-report-block{min-width:0;line-height:1.95;margin:24px 0 0}.nm-report-block:first-of-type{margin-top:0}.nm-report-block h3{font:700 16px/1.8 var(--dq-font-body);color:var(--nm-ink);margin:0 0 14px}.nm-report-block h4{font-size:13px;color:var(--dq-color-neutral);margin:18px 0 10px}.nm-report-block p{margin:12px 0;line-height:1.95;font-size:14px}.nm-report-block ul,.nm-report-block ol{padding-left:20px;line-height:1.95;margin:12px 0}.nm-report-block li{padding-left:3px;margin:14px 0;font-size:14px}.nm-report-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0 0 22px}.nm-report-summary>div{border:1px solid #b98d4c55;border-radius:12px;padding:12px;min-width:0}.nm-report-summary dt{font-size:10px;line-height:1.5;color:var(--dq-color-neutral)}.nm-report-summary dd{font:700 23px/1.5 var(--dq-font-display);margin:4px 0 0}.nm-report-group{margin:28px 0 16px;padding:16px;border:1px solid #b98d4c66;border-radius:12px;background:#b98d4c10}.nm-report-group h3{font:700 17px/1.7 var(--dq-font-display);margin:0 0 8px;color:var(--nm-ink)}.nm-stage-meta,.nm-report-group p{font-size:12px!important;line-height:1.9;color:var(--dq-color-neutral)!important;margin:8px 0}.nm-report-closing{font-size:12px;line-height:1.9;color:var(--dq-color-muted);padding:20px!important}.nm-report-tools{display:flex;gap:12px;flex-wrap:wrap;justify-content:center}.nm-report-tools .dq-button{min-height:44px;border-radius:999px}
@keyframes nm-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.nm-orbit{animation:none}.nm-gender-slider{transition:none}}@media(min-width:768px){.nm-content{max-width:820px;margin:auto}.nm-report-section{padding:32px!important}.nm-report-block p,.nm-report-block li{font-size:15px}.nm-report-section h2{font-size:21px}}@media(max-width:350px){.nm-form-card{padding:16px!important}.nm-form-grid{grid-template-columns:1fr}.nm-report-section{padding:20px 16px!important}.nm-report-section>header{gap:8px}.nm-report-section h2{font-size:16px}}
/* R175.0 local catalog layout; shared tokens stay aligned with the home screen. */
.nm-contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nm-check{display:flex;gap:10px;align-items:flex-start;font-size:12px;line-height:1.8}.nm-check input{width:18px;height:18px;margin:3px 0;flex:none;accent-color:#8b6525}.nm-y{border:1px solid #b98d4c77;border-radius:14px;padding:14px;min-width:0}.nm-y legend{font-weight:700;font-size:13px;padding:0 6px}.nm-y p,.nm-y label{font-size:12px;line-height:1.8}.nm-y p{margin:0 0 12px}.nm-numbers{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0 0}.nm-numbers>div{border:1px solid #d3aa6466;border-radius:14px;padding:14px 8px}.nm-numbers dt{font-size:11px}.nm-numbers dd{font:700 25px/1.5 var(--dq-font-display,Georgia,serif);margin:5px 0 0}.nm-report-section{overflow-wrap:anywhere}.nm-report-section p,.nm-report-section li{font-size:14px;line-height:1.95}.nm-report-section h3{font-size:16px;line-height:1.7;margin-top:26px}.nm-report-section li{margin:16px 0}.nm-report-section>header{grid-template-columns:auto minmax(0,1fr)}.nm-seal{display:grid;place-items:center;min-height:42px;min-width:42px;padding:3px;border:1px solid #b98d4c;border-radius:50%;font-weight:700;font-size:16px}.nm-trace{padding:18px!important;line-height:1.9;font-size:12px;overflow-wrap:anywhere}.nm-trace summary{cursor:pointer;font-size:14px;font-weight:700;min-height:30px}.nm-letter-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(65px,1fr));gap:8px;margin:18px 0}.nm-letter-grid>span{display:grid;text-align:center;place-items:center;border:1px solid #b98d4c66;border-radius:10px;padding:10px 4px}.nm-letter-grid>span[data-vowel=true]{background:#b98d4c22}.nm-letter-grid small{font-size:9px}.nm-save-status{text-align:center;font-size:12px;line-height:1.8}.nm-form-card [data-nm-normalized]{overflow-wrap:anywhere;font-size:11px;line-height:1.8;display:block}.nm-print-document{margin:0;background:#fff;color:#173448;font:15px/1.85 Arial,sans-serif}.nm-print-document main{max-width:800px;margin:auto;padding:24px}.nm-print-document .nm-report-profile{background:#f8f1e2;color:#173448}.nm-print-document .dq-card{padding:20px;margin:0;border:1px solid #b98d4c55;border-radius:12px}.nm-print-document h1{font-size:27px;line-height:1.5}.nm-print-document h2{font-size:21px;line-height:1.6}.nm-print-document .nm-print-trigger{padding:12px 20px;margin-bottom:24px;background:#18394a;color:#ffe3a0;border:0;border-radius:12px;font-size:14px}.nm-print-document .nm-trace{display:none}@media(max-width:420px){.nm-contact-grid{grid-template-columns:1fr}.nm-form-card{padding:18px!important}}@media print{.nm-print-document .nm-print-trigger{display:none}.nm-print-document main{max-width:none;padding:0}.nm-print-document .nm-report-profile{background:white;border:1px solid #b98d4c66}.nm-print-document h2,.nm-print-document h3{break-after:avoid}.nm-print-document p,.nm-print-document li{widows:3;orphans:3}.nm-print-document .nm-report{display:block}.nm-print-document .nm-report-section{margin:22px 0!important;border:0;border-top:1px solid #b98d4c55;border-radius:0;padding:18px 0!important}.nm-print-document .nm-report-closing{margin-top:24px} @page{margin:18mm}}

.nm-history{padding:18px!important;min-width:0}.nm-history-list{display:grid;gap:12px;margin-top:18px}.nm-history-list>div{display:grid;gap:7px;padding:12px;border:1px solid #b98d4c66;border-radius:12px;overflow-wrap:anywhere}.nm-history-list small{font-size:12px}.nm-history-list span{display:flex;gap:8px;flex-wrap:wrap}.nm-history .dq-button{min-height:40px;padding:8px 14px}.nm-form-card [data-nm-y]:empty{display:none}


/* R178: four report groups, mobile section navigation and numerical diagrams. */
.nm-rules-input{padding:14px;border:1px solid var(--nm-border);border-radius:14px;min-width:0}.nm-rules-input summary{cursor:pointer;font-size:13px;font-weight:700;min-height:30px}.nm-rules-input p,.nm-rules-input small{font-size:12px;line-height:1.8}.nm-rules-input .dq-field{margin-top:12px}.nm-group-heading{font:700 17px/1.8 var(--dq-font-display);text-align:center;color:var(--nm-ink);margin:18px 0 0}.nm-toc{padding:20px!important}.nm-toc h2{font-size:18px;margin-top:0}.nm-toc p{font-size:12px;line-height:1.8}.nm-toc details{border-top:1px solid #b98d4c55;margin-top:12px;padding-top:12px}.nm-toc summary{font-size:12px;line-height:1.8;cursor:pointer;min-height:30px}.nm-toc button{display:block;width:100%;border:0;border-bottom:1px solid #b98d4c33;background:transparent;color:var(--nm-ink);text-align:left;padding:12px 8px;font:13px/1.8 var(--dq-font-body);cursor:pointer;min-height:44px}.nm-section-heading{display:grid;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;cursor:pointer;list-style:none;margin:0!important;padding:0!important}.nm-section-heading::-webkit-details-marker{display:none}.nm-section-heading h2{font-size:17px}.nm-report-section[open]>.nm-section-heading{border-bottom:1px solid #b98d4c66;padding-bottom:16px!important;margin-bottom:20px!important}.nm-section-heading:focus-visible,.nm-toc button:focus-visible{outline:2px solid #b98d4c;outline-offset:4px}.nm-formula{font-size:12px!important;color:var(--dq-color-neutral,#805b25);line-height:1.8;overflow-wrap:anywhere}.nm-table-wrap{max-width:100%;overflow-x:auto}.nm-table{width:100%;border-collapse:collapse;font-size:12px;margin:18px 0;line-height:1.8}.nm-table th,.nm-table td{text-align:left;padding:10px 6px;border:1px solid #b98d4c55;overflow-wrap:anywhere}.nm-table th{background:#b98d4c18}.nm-chart{margin:24px 0;min-width:0}.nm-chart svg{display:block;max-width:100%;width:100%;height:auto;color:var(--nm-ink)}.nm-chart-lines line{stroke:#b98d4c88;stroke-width:1.3}.nm-node circle{fill:#fff8e6;stroke:#a37938;stroke-width:2}.nm-node text{font-size:19px;font-weight:700;fill:#173448}.nm-root-labels text{font:14px Arial;fill:#173448}.nm-root circle{fill:#e5eef0}.nm-challenge circle{fill:#f3e5dc}.nm-chart figcaption{font-size:11px;line-height:1.8;color:var(--dq-color-muted);margin-top:12px}.nm-chart-scroll{overflow-x:auto;max-width:100%}.nm-cycle-chart svg{width:630px;max-width:none;min-height:228px}.nm-cycle-path{stroke:#557a61;stroke-width:3;fill:none}.nm-cycle-chart circle{fill:#557a61}.nm-cycle-chart text{font:13px Arial;fill:#173448}.nm-grid-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:16px}.nm-grid-figure{margin:20px 0;min-width:0}.nm-grid-figure figcaption{font-size:12px;line-height:1.8;margin-bottom:10px;font-weight:700}.nm-birth-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #b98d4c66;border-radius:12px;overflow:hidden}.nm-birth-grid>div{min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #b98d4c33;min-width:0;padding:6px}.nm-birth-grid small{font-size:10px;color:var(--dq-color-muted)}.nm-birth-grid b{font-size:18px;line-height:1.6;overflow-wrap:anywhere;max-width:100%}.nm-numbers{grid-template-columns:repeat(auto-fit,minmax(115px,1fr))}.nm-print-document .nm-numbers{grid-template-columns:repeat(4,minmax(0,1fr))}
@media print{.nm-chart,.nm-grid-pair,.nm-table tr{break-inside:avoid}.nm-chart-scroll{overflow:visible}.nm-cycle-chart svg{width:100%;max-width:100%;min-height:0}.nm-section-heading{break-inside:avoid;break-after:avoid}.nm-group-heading{break-after:avoid}.nm-table th{background:white}.nm-report-block h3{break-after:avoid}.nm-section-body{display:block}}

@media print{.nm-print-document .nm-report-block p,.nm-print-document .nm-report-block li{font-size:13px;line-height:1.8}.nm-print-document .nm-report-block{margin-top:18px}.nm-print-document .nm-report-block li{margin:10px 0}.nm-print-document .nm-table{break-inside:avoid}.nm-print-document .nm-table th,.nm-print-document .nm-table td{padding:6px}.nm-print-document [data-nm-section=pyramid]{break-before:page}.nm-print-document [data-nm-section=pyramid] .nm-chart{max-width:340px;margin:20px auto}.nm-print-document .nm-formula{break-after:avoid}.nm-print-document .nm-report-closing{break-before:avoid;font-size:11px;padding:12px!important;margin-top:12px!important}.nm-print-document .nm-chart{break-before:avoid}}
/* R178: long-form life-path reading; scoped to this chapter. */
.nm-report-section>.nm-reading-heading{display:block;grid-template-columns:none}
.nm-reading-heading h2{font-size:clamp(16px,3.6vw,21px);line-height:1.75;overflow-wrap:break-word}
.nm-reading-meaning{font-size:14px;line-height:1.9;margin:0 0 22px}
.nm-reading-meaning summary{cursor:pointer;min-height:44px;line-height:1.9;padding:8px 0}
.nm-reading-meaning summary span{color:var(--dq-color-neutral,#805b25);text-decoration:underline;text-underline-offset:3px;white-space:nowrap}
.nm-reading-meaning summary:focus-visible{outline:2px solid #b98d4c;outline-offset:4px}
.nm-reading-meaning>div,.nm-meaning-expanded{padding:12px 16px;border-left:2px solid #b98d4c66;background:#b98d4c0b;margin:12px 0 22px}
.nm-reading-meaning>div p,.nm-meaning-expanded p{font-size:12px;line-height:1.85}
.nm-reading-essay .nm-reading-intro{margin:18px 0 28px;font-size:15px;line-height:1.95}
.nm-reading-essay .nm-report-block h3{font-size:15px;line-height:1.85;margin:26px 0 18px}
.nm-reading-essay .nm-report-block ul{list-style:none;padding:0;margin:0}
.nm-reading-essay .nm-report-block li{position:relative;padding:0 0 0 16px;margin:0 0 22px;font-size:15px;line-height:1.95}
.nm-reading-essay .nm-report-block li::before{content:'-';position:absolute;left:0;top:0}
@media print{.nm-print-document .nm-reading-heading{display:block}.nm-print-document .nm-reading-essay .nm-reading-intro,.nm-print-document .nm-reading-essay .nm-report-block li{font-size:13px;line-height:1.85}.nm-meaning-expanded{break-inside:avoid;background:transparent}.nm-reading-meaning{break-after:avoid}}

/* R308 source /compass/maihoa.css */
/* R187: riêng màn hình Mai Hoa, dùng màu và phông hiện có của Đạo Quán. */
.mh-content{display:grid;gap:16px;padding-bottom:28px;min-width:0}
.mh-content .dq-card{min-width:0;padding:18px}.mh-content .dq-stack{gap:16px}
.mh-content h2{font-size:21px;line-height:1.4;margin:5px 0 8px}.mh-content h3{font-size:17px;line-height:1.5;margin:12px 0 8px}
.mh-content p{font-size:13px;line-height:1.85;overflow-wrap:anywhere}.mh-heading{margin-bottom:16px}.mh-heading p{color:#756349;font-size:12px}
.mh-eyebrow{font:700 10px/1.6 var(--dq-font-body);letter-spacing:1px;color:#876029}
.mh-top-note{display:flex;align-items:center;gap:12px;border:1px solid #b79053;border-radius:14px;background:#0b2e42ee;padding:14px;color:#f4e5ca}
.mh-top-note>span{font-size:32px;color:#e4ba77}.mh-top-note p{font-size:11px;flex:1;min-width:0}.mh-top-note b{font-size:14px}
.mh-top-note a{color:#edd097;font-size:11px;min-height:44px;display:flex;align-items:center;text-underline-offset:4px}
.mh-methods{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;padding:5px;margin-bottom:18px;border:1px solid #c6a06a;background:#0c3044;border-radius:13px}
.mh-methods button{min-width:0;min-height:72px;padding:8px 3px;border:0;border-radius:9px;background:transparent;color:#f2e3c7;cursor:pointer;display:grid;align-content:center;justify-items:center;gap:5px;font:600 10px/1.4 var(--dq-font-body)}
.mh-methods button>span{font-size:20px;font-weight:400}.mh-methods button b{font-weight:600}.mh-methods button[aria-pressed=true]{background:#ecd3a6;color:#12354a}
.mh-content .dq-input{min-height:46px;font-size:13px}.mh-content textarea.dq-input{resize:vertical;min-height:90px;line-height:1.7}
.mh-content input[type=date]{min-width:0;-webkit-appearance:none;appearance:none}.mh-content input[type=date]::-webkit-date-and-time-value{text-align:left}
.mh-content .dq-field>span{font-size:12px}.mh-content select.dq-input{padding-right:22px}.mh-content .dq-input:disabled{opacity:.7}
.mh-content .mh-helper{font-size:11px;color:#776449;line-height:1.8}.mh-form-note{border-left:3px solid #bd965e;background:#ead7b650;padding:10px 12px;border-radius:0 8px 8px 0}
.mh-form-note p{font-size:12px}.mh-time{margin:0;border:1px solid #dac094;border-radius:12px;padding:12px;min-width:0;background:#fffaf0}
.mh-time legend{padding:0 5px;font-size:11px;font-weight:700;color:#70502c}.mh-check{display:flex;gap:9px;align-items:center;min-height:44px;font-size:12px;cursor:pointer}
.mh-check input{width:18px;height:18px;accent-color:#204454;flex:none}.mh-time-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:8px;margin:8px 0 10px;min-width:0}
.mh-content .mh-time-label{font-size:11px;font-weight:700;color:#284a58;margin:3px 0 8px}.mh-time-grid input,.mh-time-grid select{padding:8px;font-size:12px!important}.mh-number-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mh-form-actions{display:flex;gap:8px}.mh-primary{flex:1;min-height:50px!important;font-size:13px!important}.mh-secondary{min-height:44px;padding:8px 12px;background:#eedabb;border:1px solid #bb955d;border-radius:9px;color:#193b4c;font:700 11px/1.5 var(--dq-font-body);cursor:pointer}
.mh-content .mh-error,.mh-stale{background:#fbe2d5;border:1px solid #c2866b;border-radius:10px;color:#873f27;padding:12px;font-size:12px;line-height:1.8}
.mh-content .mh-notice{color:#f5e3bb;border:1px solid #c0a16c;border-radius:10px;padding:10px 14px;font-size:12px}.mh-stale{background:#fff0bd;color:#785624}.mh-stale[hidden]{display:none}
.mh-result{outline:none;scroll-margin-top:16px}.mh-result-heading .mh-heading{margin-bottom:10px}.mh-question{font:600 16px/1.8 var(--dq-font-display)!important;padding:12px 0;color:#1c3e4e}
.mh-result-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.mh-result-actions button{flex:1;min-width:90px}
.mh-verdict{display:grid;grid-template-columns:1fr auto;gap:14px;padding:20px;border-radius:16px;border:1px solid #bf9964;background:#e3d4b8;color:#173b4c}
.mh-verdict.mh-good{background:#e0ecd9;border-color:#82a889;color:#1d5d3b}.mh-verdict.mh-bad{background:#f8ddd0;border-color:#c28568;color:#8a3c27}
.mh-verdict>div:first-child{display:grid;gap:5px}.mh-verdict span{font-size:12px;font-weight:700}.mh-verdict strong{font:700 28px/1.3 var(--dq-font-display)}.mh-verdict small{font-size:10px}
.mh-verdict p{grid-column:1/-1;font-size:12px}.mh-score{font:700 35px/1.3 var(--dq-font-body);align-self:center;white-space:nowrap}.mh-score small{display:block;text-align:right;font-size:11px}
.mh-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.mh-hex-card{min-width:0;border:1px solid #d4b485;border-radius:13px;padding:15px;background:#fff9ec}
.mh-hex-card h3{font-size:18px;margin:6px 0 2px}.mh-hex-caption{color:#80694b;font-size:11px!important}.mh-hex-card blockquote{font-size:12px;line-height:1.9}
.mh-lines{list-style:none;padding:0;margin:22px auto;display:grid;gap:8px;width:150px;max-width:100%}.mh-lines li{display:grid;grid-template-columns:16px 1fr 12px;align-items:center;gap:6px;height:12px;color:#214254}
.mh-line-number{font-size:10px;color:#837255;text-align:center}.mh-line-stroke{display:flex;gap:10px;width:100%;height:8px}.mh-line-stroke i{background:currentColor;flex:1;border-radius:1px}
.mh-yang .mh-line-stroke{gap:0}.mh-yang .mh-line-stroke i{border-radius:0}.mh-yang .mh-line-stroke i:first-child{border-radius:1px 0 0 1px}.mh-yang .mh-line-stroke i:last-child{border-radius:0 1px 1px 0}
.mh-lines li.mh-moving{color:#b63d2b}.mh-line-dot{font-size:9px}.mh-trigram-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:center;margin:8px 0 14px}
.mh-trigram-row span{font-size:10px;color:#786448}.mh-trigram-row b{display:block;font-size:13px;color:#214254;margin-top:4px}.mh-trigram-row small{display:block;margin-top:3px;font-size:10px}
.mh-content blockquote{border-left:3px solid #b28a4e;border-radius:0 7px 7px 0;background:#ecddc2;padding:12px;margin:12px 0;color:#61472d;line-height:1.85;font-size:13px}
.mh-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.mh-trigram-card{border:1px solid #d4b485;border-radius:12px;padding:14px;background:#fff9ec;min-width:0}
.mh-trigram-card>div{display:flex;align-items:center;gap:12px}.mh-trigram-card h3{margin:6px 0;font-size:22px}.mh-trigram-card h3 small{display:block;font:600 11px/1.8 var(--dq-font-body);color:#86633e}
.mh-trigram-symbol{font:400 48px/1 var(--dq-font-body);color:#1b4156}.mh-trigram-card p{font-size:11px}.mh-trigram-card dl{font-size:11px;line-height:1.8;margin:12px 0 0}
.mh-trigram-card dl>div{display:flex;gap:8px;margin-top:6px}.mh-trigram-card dt{width:35px;flex:none;color:#85643d}.mh-trigram-card dd{margin:0;overflow-wrap:anywhere}
.mh-relation{text-align:center;font-weight:700;margin:15px 0!important;padding:9px;border-radius:9px;background:#e9d3b0;color:#4e3c29}
.mh-details{border-top:1px solid #d9bc91;margin-top:12px;padding-top:6px;min-width:0}.mh-details>summary,.mh-lookup>details>summary,.mh-history>details>summary{font-size:13px;font-weight:700;line-height:1.7;cursor:pointer;min-height:44px;padding:10px 0}
.mh-details>div{padding:8px 0}.mh-paragraph{display:flex;gap:12px;padding-bottom:14px;border-bottom:1px solid #e1cba7}.mh-paragraph:last-child{border:0;padding-bottom:0}
.mh-paragraph>span{width:23px;height:23px;display:flex;align-items:center;justify-content:center;flex:none;border-radius:50%;background:#e7cfaa;color:#7d5730;font-size:10px;margin-top:3px}
.mh-total .dq-stack{gap:16px}.mh-domain-details{border-top:1px solid #dec8a4;padding:8px 0}.mh-domain-details>summary{cursor:pointer;font-size:12px;font-weight:700;line-height:1.7;padding:7px 0;min-height:40px}
.mh-domain-body h3{margin:0;color:#284d59}.mh-domain-body{padding:8px 0}.mh-content .mh-scope{font-size:11px;line-height:1.8;color:#7d674a;margin-top:12px;padding-top:10px;border-top:1px dashed #caae80}
.mh-advice{background:#e9d5b3;border-radius:11px;padding:14px}.mh-advice strong{font-size:12px;color:#72522e}.mh-advice p{margin-top:7px;font-size:12px}
.mh-moving-reading>h3{margin-top:20px}.mh-applications{display:grid;gap:10px;margin-bottom:16px}.mh-applications>div{padding:12px;border:1px solid #d6ba8d;border-radius:10px;background:#fff9ec}
.mh-applications h4{font-size:12px;margin:0 0 7px;color:#274855}.mh-applications p{font-size:12px}
.mh-timing-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:16px 0}.mh-timing-grid>div{padding:12px 8px;border:1px solid #d4b485;border-radius:10px;background:#fff9ec;text-align:center}
.mh-timing-grid span{font-size:10px;color:#826442}.mh-timing-grid strong{display:block;font-size:14px;color:#234754;margin:7px 0}.mh-timing-grid small{font-size:9px;color:#796347}
.mh-branches{display:grid;gap:8px;margin:12px 0}.mh-branches p{font-size:12px}.mh-print-note{font-size:10px;line-height:1.8;color:#cbb68d;text-align:center}
.mh-guide-jump{display:flex;gap:6px;flex-wrap:wrap;margin:10px 0 18px}.mh-guide-jump button{min-height:40px;padding:7px 10px;border:1px solid #c6a06a;border-radius:8px;background:#f2e0bf;color:#71502a;font:600 10px/1.6 var(--dq-font-body);cursor:pointer}
.mh-guide .mh-details{scroll-margin-top:20px}.mh-guide-body p{margin:10px 0!important}.mh-guide-body h3{margin-top:18px}.mh-guide-body ul,.mh-guide-body ol{padding-left:22px;font-size:12px;line-height:1.9}.mh-guide-body li{margin:7px 0}
.mh-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;margin:15px 0;border:1px solid #d6ba8d;border-radius:9px}.mh-table-wrap table{border-collapse:collapse;width:100%;font-size:11px;line-height:1.7;min-width:360px}
.mh-table-wrap caption{text-align:left;padding:12px;font-weight:700;background:#ead7b8}.mh-table-wrap td,.mh-table-wrap th{padding:9px;border-top:1px solid #d9c29d;text-align:left}.mh-table-wrap thead{background:#f0dfc1}.mh-table-wrap th{color:#294854}
.mh-lookup>details>div,.mh-history>details>div{margin-top:10px}.mh-lookup-lines{margin-top:14px}.mh-history article{display:flex;gap:8px;align-items:center;border:1px solid #d6ba8d;border-radius:10px;padding:10px;background:#fff9ec}
.mh-history-open{flex:1;min-width:0;text-align:left;background:none;border:0;padding:5px;color:#254956;font:inherit;cursor:pointer}.mh-history-open b{display:block;font-size:12px}.mh-history-open span{display:block;font-size:10px;margin:5px 0;color:#7b6343}.mh-history-open p{font-size:11px;overflow-wrap:anywhere}
@media(min-width:900px){.mh-page{width:min(100%,850px)!important;max-width:850px!important}.mh-content{padding-left:24px;padding-right:24px}.mh-page .hero{max-width:850px;margin-inline:auto}.mh-input-card form{max-width:650px;margin-inline:auto}.mh-input-card .mh-heading{max-width:650px;margin-inline:auto}.mh-methods{max-width:650px;margin-inline:auto}.mh-applications{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.mh-three{grid-template-columns:1fr}.mh-hex-card{display:grid;grid-template-columns:1fr 120px;gap:0 12px;align-items:start}.mh-hex-card>.mh-eyebrow,.mh-hex-card>h3,.mh-hex-card>.mh-hex-caption{grid-column:1}.mh-hex-card .mh-lines{grid-column:2;grid-row:1/5;margin:6px 0 12px}.mh-hex-card .mh-trigram-row,.mh-hex-card blockquote,.mh-hex-card>.mh-helper{grid-column:1/-1}.mh-hex-card .mh-trigram-row{margin-top:13px}.mh-timing-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:380px){.mh-content .dq-card{padding:14px}.mh-content h2{font-size:19px}.mh-methods{gap:3px;padding:4px}.mh-methods button{font-size:9px;min-height:68px}.mh-time{padding:10px}.mh-time-grid{grid-template-columns:1fr 1fr}.mh-time-grid>.dq-field:first-child{grid-column:1/-1}.mh-number-grid{grid-template-columns:1fr}.mh-two{grid-template-columns:1fr}.mh-top-note{gap:8px;padding:11px}.mh-top-note>span{font-size:26px}.mh-top-note a{font-size:10px}.mh-hex-card{grid-template-columns:1fr 105px;padding:12px;gap:0 8px}.mh-hex-card h3{font-size:16px}.mh-hex-card .mh-lines{gap:7px}.mh-verdict{padding:16px}.mh-paragraph{gap:8px}.mh-result-actions button{font-size:10px;padding-inline:7px}}
@media(prefers-reduced-motion:reduce){.mh-page *{scroll-behavior:auto!important;transition:none!important}}
@media print{body{background:#fff!important;color:#111!important}body:has(.mh-page) #app{padding:0!important}body:has(.mh-page) .mh-page{max-width:none!important;background:#fff!important;padding:0!important}body:has(.mh-page) .hero,body:has(.mh-page) .dq-wallpaper,body:has(.mh-page) .bottom-nav,body:has(.mh-page) nav,body:has(.mh-page) .mh-top-note,body:has(.mh-page) .mh-input-card,body:has(.mh-page) .mh-guide,body:has(.mh-page) .mh-lookup,body:has(.mh-page) .mh-history,body:has(.mh-page) .mh-no-print,body:has(.mh-page) .mh-notice{display:none!important}.mh-content{padding:0!important;display:block}.mh-result{gap:12px!important}.mh-content .dq-card,.mh-verdict,.mh-hex-card,.mh-trigram-card{box-shadow:none!important;background:#fff!important;border-color:#aaa!important;color:#111!important;break-inside:avoid}.mh-three{grid-template-columns:repeat(3,minmax(0,1fr))}.mh-hex-card{display:block}.mh-hex-card .mh-lines{margin:16px auto}.mh-result-heading:before{content:'ĐẠO QUÁN · MAI HOA DỊCH SỐ';display:block;font-weight:700;margin-bottom:10px}.mh-content p{font-size:10pt}.mh-print-note{color:#333!important}.mh-timing-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mh-content details:not([open]){display:none!important}.mh-content .mh-table-wrap{overflow:visible}.mh-stale{display:none!important}}

/* R308 source /compass/bien-so.css */
/* R189: every component is scoped to the plate reading. */
.bs-page{background:#faf6ee;color:#3a2921}
.bs-content,.bs-picker{--dq-color-text:#382820;--dq-color-on-dark:#382820;--dq-color-muted:#8c796b;--dq-color-neutral:#8b6c1d;--dq-color-surface-gradient:linear-gradient(140deg,#fffdf8,#fff9ef);--dq-color-button-gradient:linear-gradient(120deg,#791710,#9c2b22);--dq-color-accent-soft:#fff9ed;--dq-color-border:#e5c586;--dq-color-focus:#9b7a21;--dq-shadow:none;color:#382820}
.bs-content{display:flex;flex-direction:column;gap:var(--dq-space-4);padding-bottom:100px}
.bs-capsule{display:flex;justify-content:center}.bs-capsule .dq-chip{display:inline-flex;width:max-content;max-width:100%;white-space:nowrap;font:700 clamp(10px,3.2vw,13px)/1.5 var(--dq-font-body);border-radius:var(--dq-radius-pill);padding:9px 16px;background:linear-gradient(120deg,#143449,#002036);border:1px solid #d4a9696b;color:var(--dq-color-accent-soft);box-shadow:0 5px 16px #0003}
.bs-eyebrow{font:700 10px/1.6 var(--dq-font-body);letter-spacing:1.25px;color:var(--dq-color-neutral)}
.bs-intro-top{display:flex;align-items:center;gap:12px}.bs-intro-top>div{flex:1;min-width:0}.bs-intro-top img{width:96px;height:96px;object-fit:cover;border-radius:var(--dq-radius-card);border:1px solid #bd8a4566;box-shadow:0 5px 16px #00203624}.bs-intro h2{font-family:var(--dq-font-display);line-height:1.35;margin:5px 0}.bs-intro p{font-size:13px;line-height:1.8;margin:12px 0 0}.bs-intro-top p{font-size:11px;margin:0;color:var(--dq-color-muted)}
.bs-principles{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:16px;padding-top:12px;border-top:1px solid #bd8a4540}.bs-principles span{display:flex;align-items:center;justify-content:center;gap:6px;color:var(--dq-color-neutral);font-size:10px}
.bs-head h2{font-family:var(--dq-font-display);margin:3px 0 7px}.bs-head p,.bs-helper{font-size:12px;line-height:1.75;color:var(--dq-color-muted);margin:0}.bs-content .dq-stack{gap:var(--dq-space-4)}.bs-number{font:600 20px/1.5 var(--dq-font-body);letter-spacing:1px}.bs-number::placeholder{font-size:15px;letter-spacing:0}.bs-choice{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:8px;cursor:pointer}.bs-choice span{min-width:0;overflow-wrap:anywhere}.bs-choice svg{flex-shrink:0;transform:rotate(90deg);color:var(--dq-color-neutral)}
.bs-owner-toggle{display:flex;align-items:center;gap:10px;padding:12px;background:#d4a96916;border:1px solid #bd8a453b;border-radius:var(--dq-radius-control);cursor:pointer}.bs-owner-toggle input{width:20px;height:20px;accent-color:var(--dq-color-neutral);flex-shrink:0}.bs-owner-toggle span{display:grid;gap:4px}.bs-owner-toggle b{font-size:13px}.bs-owner-toggle small{font-size:11px;color:var(--dq-color-muted)}.bs-owner-fields{padding:12px;border-left:2px solid #bd8a454d;background:#ffffff38;border-radius:var(--dq-radius-control)}
.bs-primary{width:100%;min-height:48px;background:linear-gradient(110deg,#16384a,#002035)!important;color:#f8e3b8!important;border:1px solid #bd8a4580!important;justify-content:center;font-size:13px!important}.bs-link{background:none;border:0;color:var(--dq-color-neutral);font:600 12px var(--dq-font-body);min-height:44px;text-decoration:underline;cursor:pointer}.bs-error{font-size:13px;padding:10px 12px;border-radius:10px;background:#a6452720;color:#8e341e;line-height:1.6}.bs-error[hidden]{display:none}
.bs-result-banner{background:linear-gradient(120deg,#153648,#001b30);padding:20px;text-align:center;border:1px solid #d4a96966;border-radius:var(--dq-radius-card);color:#f8e3b8;box-shadow:0 8px 22px #0003}.bs-result-banner .bs-eyebrow{color:#d4a969}.bs-result-banner h2{font:700 clamp(21px,5vw,28px)/1.5 var(--dq-font-body);letter-spacing:2px;margin:8px 0}.bs-result-banner p{font-size:13px;margin:4px 0}
.bs-hex-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bs-hex-card{padding:12px 10px;background:#ffffff55;border:1px solid #bd8a453d;border-radius:12px}.bs-hex-card>.bs-eyebrow{font-size:8px;letter-spacing:.5px}.bs-hex-card h3{font:700 15px/1.5 var(--dq-font-display);margin:5px 0;min-height:45px}.bs-hex-card p{font-size:12px;line-height:1.75}.bs-hex-card .bs-helper{font-size:11px}.bs-hex-lines{display:flex;flex-direction:column;gap:5px;margin:16px 0;max-width:150px}.bs-line{display:grid;grid-template-columns:12px 1fr 1fr;gap:7px;position:relative;min-height:9px;align-items:center}.bs-line small{font-size:9px;color:#80623e}.bs-line>span{height:5px;background:#16394a}.bs-yang>span:first-of-type{grid-column:2/4}.bs-yang>span:last-of-type{display:none}.bs-moving>span{background:#b57930}.bs-line em{font:600 8px var(--dq-font-body);position:absolute;right:0;top:-8px;color:#925e22;background:#f5ead4;padding:0 2px}
.bs-reading{padding:12px 14px;border-radius:12px;background:#d4a96914;border:1px solid #bd8a4534}.bs-reading h3{font-size:14px;line-height:1.6;margin:0 0 6px}.bs-reading p{font-size:13px;line-height:1.8;margin:6px 0 0}.bs-details{border-top:1px solid #bd8a4536;padding-top:12px;font-size:12px;line-height:1.8}.bs-details summary{font-weight:700;color:var(--dq-color-neutral);cursor:pointer;min-height:32px}.bs-details[open]>summary{margin-bottom:12px}.bs-dl{display:grid;grid-template-columns:110px minmax(0,1fr);gap:9px;font-size:12px;line-height:1.75;margin:0}.bs-dl dt{color:var(--dq-color-muted)}.bs-dl dd{margin:0;font-weight:600}
.bs-stars{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px}.bs-star{display:grid;grid-template-columns:70px 1fr 14px;align-items:center;gap:6px;font-size:11px}.bs-star>div{height:6px;background:#bd8a4520;border-radius:5px;overflow:hidden}.bs-star i{height:100%;display:block;background:currentColor;border-radius:5px}.bs-good{color:var(--dq-color-positive)}.bs-care{color:var(--dq-color-caution)}.bs-stable{color:var(--dq-color-neutral)}.bs-pairs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.bs-pair{display:grid;text-align:center;gap:3px;padding:8px 2px;border:1px solid #bd8a4535;border-radius:10px;background:#ffffff45}.bs-pair small{font-size:9px;color:var(--dq-color-muted)}.bs-pair b{font-size:19px}.bs-pair span{font-size:10px;font-weight:600}.bs-trios p{display:flex;gap:12px;font-size:12px;padding:8px;border-bottom:1px solid #bd8a4529;margin:0}.bs-trios b{font-size:16px;min-width:36px}
.bs-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.bs-stats>div{display:grid;gap:5px;text-align:center;padding:10px 5px;background:#bd8a4514;border-radius:10px}.bs-stats b{font-size:18px;color:#16384a}.bs-stats span{font-size:10px;line-height:1.6;color:var(--dq-color-muted)}.bs-elements{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.bs-elements span{display:grid;text-align:center;gap:4px;padding:10px 2px;border:1px solid #bd8a453a;border-radius:10px}.bs-elements b{font-size:11px;color:var(--dq-color-neutral)}.bs-elements strong{font-size:22px;color:#153648}.bs-elements small{font-size:9px;color:var(--dq-color-muted)}.bs-position-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bs-position-grid h3{font-size:13px}.bs-boundary{padding:12px;border-radius:10px;border:1px solid #bd8a4570;background:#d4a96920;font-size:12px;line-height:1.8}.bs-download{justify-content:center}.bs-footer{font-size:11px;line-height:1.8;text-align:center;color:#cfb990;margin:0 6px}
.home-page .bs-feature-tile{position:relative;overflow:hidden;background:none!important}.bs-feature-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.bs-feature-tile:after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#001324f0)}.home-page .bs-feature-tile b{position:absolute;bottom:7px;left:3px;right:3px;font:700 11px/1.4 var(--dq-font-body);z-index:1;color:var(--dq-color-on-dark);text-align:center;text-shadow:0 2px 4px #000;white-space:normal}.bs-feature-tile>svg{z-index:2}
.bs-picker{width:min(92vw,460px);padding:22px;border:1px solid #d4a96980;border-radius:20px;background:linear-gradient(145deg,#faf4e4,#eee0c6);color:var(--dq-color-text);box-shadow:0 15px 70px #0009;font-family:var(--dq-font-body);max-height:90dvh;overflow:auto}.bs-picker::backdrop{background:#001324bf;backdrop-filter:blur(3px)}.bs-picker h2{font:700 19px/1.5 var(--dq-font-display);margin:0 0 6px;text-align:center}.bs-picker>p{font-size:12px;line-height:1.7;text-align:center;color:var(--dq-color-muted);margin:0 0 16px}.bs-wheel-columns{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bs-single-picker .bs-wheel-columns{grid-template-columns:1fr}.bs-wheel-col{min-width:0;text-align:center}.bs-wheel-col>b{font-size:12px;color:var(--dq-color-neutral);display:block;margin-bottom:8px}.bs-wheel{height:220px;overflow-y:auto;overscroll-behavior:contain;scroll-snap-type:y mandatory;scrollbar-width:none;border-radius:12px;position:relative;background:linear-gradient(to bottom,transparent 88px,#d4a96928 88px,#d4a96928 132px,transparent 132px),#ffffff60;border:1px solid #bd8a4539}.bs-wheel::-webkit-scrollbar{display:none}.bs-wheel-spacer{height:88px;flex-shrink:0}.bs-wheel button{display:block;width:100%;height:44px;min-height:44px;padding:0 4px;border:0;background:transparent;scroll-snap-align:center;font:500 16px/44px var(--dq-font-body);color:#917d60;cursor:pointer;white-space:nowrap}.bs-wheel button[aria-selected=true]{color:#14384a;font-weight:800}.bs-single-picker .bs-wheel button{font-size:13px}.bs-actions{display:flex;gap:10px;margin-top:20px}.bs-actions .dq-button{flex:1;justify-content:center}.bs-actions .dq-button:last-child{background:#14384a;color:#f8e3b8}
@media(max-width:599px){.bs-hex-grid{grid-template-columns:1fr}.bs-hex-card{display:grid;grid-template-columns:110px minmax(0,1fr);gap:4px 14px}.bs-hex-card>.bs-eyebrow{grid-column:1/3}.bs-hex-card h3{grid-column:1/3;min-height:0}.bs-hex-lines{grid-column:1;grid-row:3/5;margin:12px 0}.bs-hex-card p{grid-column:2;margin:4px 0}.bs-stars{gap:10px}.bs-star{grid-template-columns:65px 1fr 12px;font-size:10px}.bs-position-grid{grid-template-columns:1fr}}
@media(max-width:359px){.bs-content .dq-card{padding:13px}.bs-intro-top img{width:76px;height:76px}.bs-intro h2{font-size:19px!important}.bs-capsule .dq-chip{padding-inline:12px}.home-page .bs-feature-tile b{font-size:9px}.bs-picker{padding:16px}.bs-dl{grid-template-columns:90px minmax(0,1fr)}.bs-star{grid-template-columns:57px 1fr 10px}.bs-principles b{font-size:9px}.bs-single-picker .bs-wheel button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.bs-wheel{scroll-behavior:auto}}
/* R189 · result and full reading; uses the existing navy, gold and paper tokens. */
.bs-page .bs-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:var(--dq-radius-pill);padding:3px 9px;font:700 10px/1.5 var(--dq-font-body);background:var(--bs-tint,#f1eee7);color:var(--bs-tone,#655741);border:1px solid var(--bs-border,#d6cbbb);white-space:nowrap}
.bs-tier-great{--bs-tone:#246746;--bs-border:#70a888;--bs-tint:#edf7ef}.bs-tier-good{--bs-tone:#185d7c;--bs-border:#7bafc4;--bs-tint:#edf6fa}.bs-tier-neutral{--bs-tone:#655741;--bs-border:#c8bcab;--bs-tint:#f4f0e8}.bs-tier-caution{--bs-tone:#945414;--bs-border:#d5a263;--bs-tint:#fff6e8}.bs-tier-danger{--bs-tone:#9f343b;--bs-border:#d49594;--bs-tint:#fff0f0}
.bs-overview{border-color:#bd8a4570!important}.bs-score-layout{display:grid;grid-template-columns:90px minmax(0,1fr);gap:16px;align-items:center}.bs-score-ring{aspect-ratio:1;border-radius:50%;padding:7px;background:conic-gradient(var(--bs-tone) var(--bs-score),#e7e2d8 0)}.bs-score-ring>div{border-radius:50%;background:var(--dq-color-surface,#faf4e4);height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center}.bs-score-ring b{font:700 30px/1.1 var(--dq-font-display);color:var(--bs-tone)}.bs-score-ring small{font-size:10px;color:var(--dq-color-muted);margin-top:6px}.bs-score-summary>.bs-badge{margin-bottom:10px}.bs-score-bars{display:grid;gap:9px}.bs-score-bar{display:grid;grid-template-columns:minmax(110px,1fr) minmax(60px,2fr) 24px;gap:8px;align-items:center;font-size:10px}.bs-score-bar>span{line-height:1.5;color:var(--dq-color-muted)}.bs-score-bar>div{height:7px;background:#e6e1d9;border-radius:10px;overflow:hidden}.bs-score-bar i{display:block;height:100%;background:linear-gradient(90deg,#d8b254,#a5772e);border-radius:10px}.bs-score-bar>b{color:var(--dq-color-neutral);text-align:right}
.bs-quality-summary{padding:12px;border:1px solid #bd8a4540;border-radius:12px;background:#fff8;line-height:1.8}.bs-quality-summary p{font-size:12px;margin:0}.bs-quality-summary p+p{margin-top:7px}.bs-quality-summary small{font-size:10px;color:var(--dq-color-muted)}.bs-quality-summary .bs-badge{margin:0 3px}.bs-quality-summary .bs-tier-good{--bs-tone:#15704b;--bs-border:#80b099;--bs-tint:#eef7ee}
.bs-trigram-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bs-trigram-grid article{display:grid;gap:6px;padding:12px;background:#fff8;border:1px solid #bd8a4540;border-radius:12px;text-align:center}.bs-trigram-grid b{color:var(--dq-color-neutral);font-size:13px}.bs-trigram-grid span{font-size:12px;line-height:1.7}.bs-full-actions{text-align:center;border-top:1px dashed #bd8a4560;padding-top:14px}.bs-full-actions>div{display:flex;justify-content:center;gap:16px}.bs-full-button{width:100%;justify-content:center;background:#176442!important;color:#fff7e0!important;min-height:48px;line-height:1.6;font-size:13px!important}.bs-full-button:focus-visible,.bs-return:focus-visible,.bs-detail-toc button:focus-visible{outline:3px solid #d4a969;outline-offset:3px}
.bs-subheading{font:700 15px/1.7 var(--dq-font-display);color:#16384a;margin:0 0 12px}.bs-position{padding:14px;border:1px solid #bd8a4580;border-radius:12px;background:#fff8f0}.bs-position-su{background:#f0f6fa;border-color:#85aabe}.bs-position-head{display:flex;gap:9px;align-items:flex-start}.bs-position-head>span{font-size:23px;line-height:1.5}.bs-position h4{font:700 13px/1.6 var(--dq-font-body);margin:0;color:#805b25}.bs-position-su h4{color:#185d7c}.bs-position p{font-size:12px;line-height:1.85;margin:8px 0}.bs-position-head p{font-size:11px;margin:2px 0 0;color:#685843}.bs-position-trait{border-top:1px dashed #bd8a4565;padding-top:9px;font-size:11px;line-height:1.7;color:#805b25}.bs-position-su .bs-position-trait{color:#185d7c;border-color:#85aabe}
.bs-trio-list,.bs-special-list{display:grid;gap:12px}.bs-trio-card{display:grid;grid-template-columns:80px minmax(0,1fr);gap:13px;padding:14px 12px;border:1px solid var(--bs-border);border-radius:13px;background:var(--bs-tint)}.bs-trio-code{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:7px;padding-top:2px}.bs-trio-code>small{font-size:10px;color:var(--dq-color-muted)}.bs-trio-code>b{font:800 21px/1.3 var(--dq-font-body);letter-spacing:3px;color:#183748;font-variant-numeric:tabular-nums}.bs-trio-code .bs-badge{font-size:9px;padding:3px 7px}.bs-trio-reading{border-left:1px solid var(--bs-border);padding-left:13px}.bs-trio-reading h4,.bs-special h4{color:var(--bs-tone);font:700 13px/1.65 var(--dq-font-body);margin:0 0 6px}.bs-trio-reading p,.bs-special p{font-size:12px;line-height:1.85;margin:5px 0;color:#34414a}.bs-trio-reading .bs-trio-advice{padding-top:7px;border-top:1px dashed var(--bs-border);color:var(--bs-tone);font-style:italic}.bs-trio-reading>small{display:block;margin-top:8px;font-size:10px;line-height:1.7;color:var(--dq-color-muted)}.bs-special{padding:14px;border:1px solid var(--bs-border);border-radius:12px;background:var(--bs-tint)}.bs-special small{font-size:10px;line-height:1.7;color:var(--dq-color-muted)}
.bs-owner-result{background:#eef5f8!important;border-color:#87a8b9!important}.bs-owner-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.bs-owner-grid>div{display:grid;gap:4px;padding:11px;background:#fffc;border:1px solid #b4cbd850;border-radius:10px}.bs-owner-grid small{font-size:10px;color:#657c8b}.bs-owner-grid b{font-size:12px;line-height:1.7;color:#14384a}.bs-owner-result>p{font-size:12px;line-height:1.85;margin:0}
.bs-return{align-self:flex-start;min-height:44px;border:1px solid #d4a96966;border-radius:var(--dq-radius-pill);padding:9px 15px;background:#14384a;color:#f8e3b8;font:600 12px/1.7 var(--dq-font-body);cursor:pointer}.bs-detail-banner h1{font:700 27px/1.4 var(--dq-font-display);margin:10px 0}.bs-detail-symbol{max-width:144px;margin:18px auto 0}.bs-detail-symbol .bs-hex-lines{margin:0}.bs-detail-symbol .bs-line>span{background:#ecd3a0}.bs-detail-symbol .bs-line small{color:#d4a969}.bs-detail-symbol .bs-moving>span{background:#fff}.bs-detail-symbol .bs-line em{color:#fff}
.bs-meta-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.bs-meta-grid>div{padding:13px;border:1px solid #bd8a4545;border-radius:12px;background:#fff8;display:grid;gap:7px;align-content:start}.bs-meta-grid small{font-size:10px;text-transform:uppercase;letter-spacing:.6px;color:var(--dq-color-neutral)}.bs-meta-grid b{font-size:12px;line-height:1.8}.bs-detail-intro{font-size:14px;line-height:1.95;margin:0;font-style:italic}.bs-detail-toc{display:flex;flex-wrap:wrap;gap:8px}.bs-detail-toc button{font:600 11px/1.5 var(--dq-font-body);padding:9px 13px;min-height:40px;border:1px solid #d4a96960;border-radius:var(--dq-radius-pill);background:#14384a;color:#ecd3a0;cursor:pointer}.bs-detail-section{scroll-margin-top:18px}.bs-detail-section>h2{font-size:20px!important;line-height:1.6;font-family:var(--dq-font-display);margin:0;color:#16384a}.bs-detail-section>h3{font:700 15px var(--dq-font-display);margin:0;color:#805b25}.bs-detail-section>p{font-size:14px;line-height:1.95;margin:0}.bs-detail-section blockquote{margin:0;padding:16px;border-left:3px solid #bd8a4580;border-radius:0 12px 12px 0;background:#bd8a4514;font-size:14px;line-height:1.9}.bs-detail-section blockquote p{margin:0}.bs-detail-section blockquote p+p{margin-top:10px}.bs-chinese{font-family:serif;font-size:22px;line-height:1.8}
.bs-scenario-list,.bs-line-readings{display:grid;gap:12px}.bs-scenario{padding:15px;background:#fff8;border:1px solid #bd8a4540;border-radius:13px}.bs-scenario>div{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.bs-scenario h3{flex:1;min-width:135px;font:700 14px/1.6 var(--dq-font-body);margin:0;color:#16384a}.bs-scenario>div>b{padding:3px 8px;background:#bd8a4518;border-radius:7px;font-size:10px;color:#805b25}.bs-scenario p{font-size:13px;line-height:1.9;margin:10px 0 0}.bs-favorable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bs-favorable-grid article{padding:16px 11px;display:grid;gap:7px;justify-items:center;text-align:center;background:#fff8;border:1px solid #bd8a4540;border-radius:12px}.bs-favorable-grid span{font-size:25px}.bs-favorable-grid small{font-size:11px;color:var(--dq-color-neutral)}.bs-favorable-grid b{font-size:12px;line-height:1.8}.bs-line-reading{padding:15px;border:1px solid #bd8a4540;background:#fff8;border-radius:12px}.bs-line-reading>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.bs-line-reading h3{font:700 14px/1.6 var(--dq-font-body);color:#16384a;margin:0}.bs-line-reading p{font-size:13px;line-height:1.9;margin:9px 0 0}.bs-active-line{border-color:#a88441;background:#fff5d9}.bs-detail-bottom{display:grid;gap:8px}
@media(max-width:480px){.bs-score-layout{grid-template-columns:76px minmax(0,1fr);gap:12px}.bs-score-ring{padding:6px}.bs-score-ring b{font-size:27px}.bs-score-bar{grid-template-columns:minmax(0,1fr) 23px;gap:3px 7px}.bs-score-bar>span{grid-column:1/3}.bs-score-bar>div{height:6px}.bs-trio-card{grid-template-columns:66px minmax(0,1fr);gap:10px;padding:12px 10px}.bs-trio-reading{padding-left:10px}.bs-trio-code>b{font-size:20px;letter-spacing:2px}.bs-owner-grid{gap:8px}.bs-meta-grid{gap:8px}.bs-meta-grid>div{padding:10px}.bs-detail-banner h1{font-size:25px}.bs-detail-section>h2{font-size:19px!important}}
@media(max-width:359px){.bs-trio-card{grid-template-columns:60px minmax(0,1fr)}.bs-owner-grid{grid-template-columns:1fr}.bs-meta-grid{grid-template-columns:1fr}.bs-detail-toc{gap:6px}.bs-detail-toc button{padding:8px 10px}.bs-trigram-grid article{padding:10px 8px}.bs-score-layout{grid-template-columns:69px minmax(0,1fr)}}
.bs-content{max-width:760px;width:100%;margin-inline:auto}
.bs-content .dq-card{box-shadow:none;border-color:#e6ca92}
.bs-content .bs-intro{background:transparent;border:0;padding-inline:4px}
.bs-intro h2,.bs-head h2,.bs-detail-section>h2{color:#791710}
.bs-intro-top img{width:88px;height:88px;border-color:#e6ca92}
.bs-capsule .dq-chip{background:#fffaf0;color:#791710;border-color:#e6ca92;box-shadow:none}
.bs-content .bs-primary{background:linear-gradient(120deg,#791710,#9c2b22)!important;color:#fff9ed!important;border-color:#791710!important}
.bs-result-banner{background:linear-gradient(110deg,#76110c,#a32926);color:#fff8e9;border-color:#9d3227;box-shadow:0 8px 20px #76110c13}
.bs-result-banner .bs-eyebrow{color:#f3d692}
.bs-result-banner h1{color:#fff8e9}
.bs-content .bs-owner-result{background:#f6fbff;border-color:#b7d8fb}
.bs-owner-result .bs-head h2{color:#075bab}
.bs-owner-grid>div{background:#fff;border-color:#dce6f2}
.bs-score-bars i{background:linear-gradient(90deg,#d6ae2d,#b88508)}
.bs-quality-panel h3{font-size:13px;color:#791710}
.bs-quality-panel h3 small{font:400 11px/1.5 var(--dq-font-body);color:#8c796b}
.bs-quality-panel .bs-quality-summary{background:none;border:0;padding:0}
.bs-content .bs-hex-heading{margin:-16px -16px 0;padding:20px 16px;text-align:center;background:linear-gradient(110deg,#76110c,#a32926);border-radius:15px 15px 0 0;color:#fff8e9}
.bs-hex-heading h2,.bs-hex-heading .bs-eyebrow,.bs-hex-heading p{color:#fff8e9}
.bs-hex-grid{gap:12px;text-align:center}
.bs-hex-card{background:transparent;border:0;padding:10px 2px}
.bs-hex-card h3{color:#791710;font-size:15px;min-height:0}
.bs-hex-lines{margin-inline:auto;width:94px}
.bs-line>span{background:#303030}
.bs-line[data-bs-line="1"]{order:6}.bs-line[data-bs-line="2"]{order:5}.bs-line[data-bs-line="3"]{order:4}.bs-line[data-bs-line="4"]{order:3}.bs-line[data-bs-line="5"]{order:2}.bs-line[data-bs-line="6"]{order:1}
.bs-moving>span{background:#ad781d}
.bs-content .bs-full-button{background:linear-gradient(110deg,#1e6030,#2d863c);color:#fff;border-color:#286e35}
.bs-content .bs-tier-great{color:#17612a;background:#effbf1;border-color:#40ae49}
.bs-content .bs-tier-good{color:#0862a9;background:#edf7ff;border-color:#3998e9}
.bs-content .bs-tier-danger{color:#bf1919;background:#fff4f4;border-color:#f26262}
.bs-content .bs-tier-caution{color:#a66710;background:#fff9e9;border-color:#d1a341}
.bs-content .bs-tier-neutral{color:#8b6c1d;background:#fbf7ed;border-color:#d7c491}
.bs-content .bs-badge.bs-tier-cat{color:#bf1919;background:#fff0ed}
.bs-content .bs-badge.bs-tier-tb{color:#1264b1;background:#edf6ff}
.bs-content .bs-badge.bs-tier-hung{color:#242424;background:#eeece9}
.bs-score-ring{color:#90701b!important;background:conic-gradient(#90701b var(--bs-score),#ececec 0)!important;border:0!important}
.bs-score-ring>div{background:#fffdf8}
.bs-trio-card{grid-template-columns:76px minmax(0,1fr);padding:14px 12px;border-width:1px}
.bs-trio-reading h4{color:inherit}
.bs-trio-reading p{color:#3a2921}
.bs-trio-advice{border-top:1px dashed currentColor;padding-top:7px;font-style:italic}
.bs-trio-code>b{color:#252525;letter-spacing:4px}
.bs-content .bs-position-tai{background:#fff9e0;border-color:#d4aa30}
.bs-content .bs-position-su{background:#edf6ff;border-color:#4899e9}
.bs-footer{color:#8c796b}
.bs-content .bs-legacy summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:700;color:#791710}
.bs-legacy .r112-content{padding:12px 0 0;background:transparent}
.bs-legacy .r112-form{margin:10px 0}
.bs-content .bs-download{background:#fff9ed;color:#791710;border-color:#d8ba7c}
.bs-detail-toc{position:static}
@media(max-width:480px){.bs-hex-card p{font-size:11px}.bs-hex-lines{width:76px}.bs-hex-card h3{font-size:13px}.bs-trio-card{grid-template-columns:62px minmax(0,1fr)}}
@media(max-width:359px){.bs-position-grid{grid-template-columns:1fr}.bs-hex-grid{gap:5px}.bs-hex-lines{width:64px}.bs-line{gap:4px}.bs-hex-card h3{font-size:12px}.bs-hex-card p{font-size:10px}.bs-intro-top img{width:70px;height:70px}}

/* R308 source /compass/fengshui-articles-r193.css */
/* R195: reference magazine with a scoped animated featured carousel. */
.feng-articles-page{--feng-gold:#e5b65b;--feng-gold-light:#fff0bc;--feng-line:#bf903d;--feng-muted:#c7cbd0;--feng-ink:#031c2b;background:#021a2b;min-height:100dvh;width:min(100%,941px);max-width:941px;margin:0 auto;container-type:inline-size;color:#fbf1d2;padding:0 0 env(safe-area-inset-bottom);font-family:Georgia,'Times New Roman',serif;isolation:isolate;position:relative;overflow:clip}
.feng-articles-page>.dq-wallpaper{display:none}.feng-articles-page:before{content:'';position:absolute;inset:0;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 8% 35%,#17354a88,transparent 35%),radial-gradient(ellipse at 94% 70%,#15395277,transparent 40%);opacity:.7}
.feng-articles-page button,.feng-articles-page input,.feng-articles-page select{font:inherit}.feng-articles-page button{cursor:pointer;touch-action:manipulation}.feng-articles-page button:focus-visible,.feng-articles-page input:focus-visible,.feng-articles-page select:focus-visible,.feng-articles-page a:focus-visible{outline:2px solid #fff0bc;outline-offset:3px}.feng-articles-page button:disabled{opacity:.55;cursor:wait}.feng-articles-page [hidden]{display:none!important}.feng-sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.feng-magazine-header{position:relative;background:linear-gradient(0deg,#031c2b00,#00101c12),url("/images/feng-r194-header.webp") center top/cover no-repeat;padding:calc(10px + env(safe-area-inset-top)) 20px 17px;min-height:116px}
.feng-header-top{display:flex;justify-content:space-between;align-items:center;gap:8px}.feng-header-top>div{display:flex;gap:9px}.feng-circle{display:inline-grid;place-items:center;flex-shrink:0;width:34px;height:34px;padding:6px;border:1.5px solid #e7b657;border-radius:50%;color:#ffedb0;background:radial-gradient(circle at 40% 20%,#123a4a,#001621);box-shadow:inset 0 0 0 2px #17384a,0 1px 2px #0009}.feng-circle svg{width:20px;height:20px}
.feng-header-title{position:relative;margin-top:9px;text-shadow:0 2px 3px #00111c,0 0 12px #00111c}.feng-header-title h1{font-weight:700;font-size:clamp(22px,6.3cqw,58px);line-height:1.12;letter-spacing:-.4px;color:#fff0c2;margin:0 0 5px;white-space:nowrap}.feng-header-title p{color:#eee7d7;font-size:clamp(13px,3.25cqw,30px);line-height:1.4;margin:0}
.feng-magazine-content{padding:0 11px 0;margin:0 auto;position:relative}.feng-search{position:relative;display:flex;align-items:center;gap:10px;border:1.4px solid var(--feng-gold);border-radius:24px;height:36px;padding:0 13px;margin:0 7px 7px;background:linear-gradient(100deg,#082638,#061a29);box-shadow:inset 0 0 0 1px #b8873c55,0 2px 6px #0005;color:#fae4a8;overflow:hidden}.feng-search-cloud{position:absolute;right:0;top:0;width:65px;height:100%;opacity:.75;pointer-events:none}.feng-search>svg:not(.feng-search-cloud){width:19px;height:19px;flex-shrink:0}.feng-search input{background:none;border:0;min-width:0;width:100%;color:#f9efcf;font-size:12px;outline:none;z-index:1}.feng-search input::placeholder{color:#d3d8da;opacity:1}.feng-search>button{display:grid;place-items:center;border:0;background:transparent;color:#e1c88f;padding:0;z-index:1}.feng-search input::-webkit-search-cancel-button{display:none}
.feng-topic-scroll{display:flex;gap:5px;overflow-x:auto;padding:0 0 5px;margin:0 0 3px;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}.feng-topic-scroll::-webkit-scrollbar{display:none}.feng-topic{white-space:nowrap;flex-shrink:0;border:1px solid #e5b04d;background:linear-gradient(#092b3c,#021928);color:#f6edd6;border-radius:20px;padding:5px 10px;font-size:12px!important;line-height:1.35;box-shadow:inset 0 0 0 1px #052538}.feng-topic.selected{background:linear-gradient(#fff0b8,#e1af4b);border-color:#ffdc83;color:#191c16;box-shadow:inset 0 0 0 1px #9b6b2488,0 0 0 1px #bc892d;font-weight:600}
.feng-featured{position:relative;border:1.5px solid #e8b04c;border-radius:12px;overflow:hidden;height:clamp(133px,31.5cqw,300px);margin:0 0 8px;box-shadow:0 0 0 1px #5c4625,inset 0 0 0 1px #ffe39c,0 4px 12px #0005;background:#132a33}.feng-featured-stage>img,.feng-featured-stage>.feng-reference-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;display:block}.feng-featured-stage:after{position:absolute;inset:0;content:'';background:linear-gradient(180deg,#0000 20%,#00101a11 32%,#00101a77 58%,#00101ae6 100%);pointer-events:none}.feng-featured:before{content:'';position:absolute;inset:2px;border:1px solid #e7b95070;border-radius:9px;pointer-events:none;z-index:3}.feng-featured-copy{position:absolute;bottom:9px;left:10px;right:44px;z-index:1}.feng-featured-badge{position:absolute;left:8px;top:8px;z-index:2;display:flex;align-items:center;gap:4px;background:linear-gradient(#b52422,#8d1518);color:#fff3c2;border:1px solid #ffe2a0;border-radius:20px;padding:2px 8px 2px 4px;font-size:13px;line-height:1.25;box-shadow:0 0 0 1px #792a15}.feng-featured-badge svg{width:17px;height:17px}.feng-title-link{display:block;text-align:left;color:inherit;border:0;padding:0;background:none;width:100%}.feng-featured h2{color:#fff3cf;font-size:clamp(17px,4.15cqw,40px);font-weight:700;line-height:1.15;margin:0 0 7px;letter-spacing:-.2px;text-shadow:0 2px 4px #000}.feng-featured-arrow,.feng-open-arrow{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 40% 20%,#0d3447,#001823);color:#ffeabb;border:1.3px solid #edb956;box-shadow:inset 0 0 0 1px #62717a66;padding:5px}.feng-featured-arrow{position:absolute;right:10px;bottom:12px;z-index:2}.feng-featured-arrow svg,.feng-open-arrow svg{width:20px;height:20px}
.feng-meta{display:flex;flex-wrap:wrap;align-items:center;gap:5px;color:#e2e1d5;font-size:10px;line-height:1.4}.feng-meta>span{display:inline-flex;align-items:center;gap:4px;white-space:nowrap}.feng-meta svg{width:12px;height:12px;color:#f5df9f;flex-shrink:0}.feng-meta i{font-style:normal;color:#edcc7d;font-size:11px}.feng-featured .feng-meta{font-size:10px;gap:5px}
.feng-section-title{position:relative;display:flex;align-items:center;gap:6px;margin:8px 0 7px;min-height:23px}.feng-section-title h2{font-size:clamp(20px,4.5cqw,39px);font-weight:700;line-height:1.2;color:#f8dfa3;margin:0;flex-shrink:0;text-shadow:0 2px 2px #0004}.feng-heading-line{height:1px;flex:1;min-width:8px;background:linear-gradient(90deg,#e1b250,#d9b158)}.feng-cloud-left{width:36px;height:23px;flex-shrink:0}.feng-cloud-right{width:38px;height:22px;flex-shrink:0;margin-left:-6px}.feng-reference-art{display:block;overflow:hidden;pointer-events:none}
.feng-list{display:grid;gap:6px}.feng-row{display:flex;gap:0;border:1px solid #dba648;border-radius:11px;background:linear-gradient(115deg,#052235,#001521);box-shadow:inset 0 0 0 1px #94724135,0 3px 9px #0003;overflow:hidden;position:relative}.feng-row-image{width:33.25%;flex:0 0 33.25%;border:0;overflow:hidden;background:#102c3e;padding:0;align-self:stretch;position:relative}.feng-row-image img,.feng-row-image>.feng-reference-art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}.feng-row-copy{min-width:0;flex:1;padding:5px 30px 6px 10px;display:flex;flex-direction:column;position:relative;min-height:93px}.feng-label{display:inline-flex;align-items:center;gap:5px;align-self:flex-start;border:1px solid #dcb354;border-radius:16px;padding:1px 6px;color:#fff0b8;line-height:1.3;font-size:11px;white-space:nowrap}.feng-label svg{width:12px;height:12px;color:#f8d77e;flex-shrink:0}.feng-row h3{font-size:13.5px;font-weight:700;line-height:1.16;margin:4px 0;color:#fff1d9;letter-spacing:-.15px}.feng-row-copy>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:11.5px;line-height:1.3;color:#d6dce0;margin:0 0 5px}.feng-row-bottom{margin-top:auto}.feng-row .feng-meta{gap:4px;font-size:9px}.feng-row .feng-meta svg{width:11px;height:11px}.feng-save{position:absolute;right:3px;top:3px;width:30px;height:30px;display:grid;place-items:center;border:0;padding:6px;background:none;color:#f4d787}.feng-save svg{width:16px;height:18px}.feng-save.is-saved svg{fill:#f4d78777}.feng-open-arrow{position:absolute;right:7px;bottom:7px;width:27px;height:27px;padding:4px}.feng-open-arrow svg{width:17px;height:17px}
.feng-load-more{position:relative;display:flex;align-items:center;justify-content:center;gap:9px;width:min(68%,480px);padding:7px 18px;margin:11px auto 0;border-radius:25px;background:linear-gradient(#0c354b,#011a29);color:#fff0c7;border:1.5px solid #e5b451;font-weight:600!important;font-size:15px!important;box-shadow:inset 0 0 0 2px #082132,inset 0 0 0 3px #b6893a,0 2px 4px #0005;z-index:1;white-space:nowrap}.feng-more-cloud-left,.feng-more-cloud-right{z-index:-1;position:absolute;top:0;left:0;width:30px;height:100%;pointer-events:none}.feng-more-cloud-right{left:auto;right:0}.feng-load-more svg:not(.feng-reference-art){width:15px;height:18px;flex-shrink:0}.feng-footer-art{height:25px;position:relative;margin:0 -11px;pointer-events:none}.feng-lotus-left,.feng-lotus-right{width:25%;position:absolute;bottom:0;height:52px}.feng-lotus-left{left:0}.feng-lotus-right{right:0}
.feng-empty{padding:24px 15px;text-align:center;background:#092a3d;border:1px solid var(--feng-line);border-radius:12px;color:#e3e4df}.feng-empty h3{font-size:21px;color:#f6d993}.feng-empty p{font-size:14px;line-height:1.6}.feng-empty button,.feng-active-filter button{border:1px solid #d5b775;color:#f0d29a;background:#122d3b;border-radius:22px;padding:10px 15px;font-size:13px}.feng-loading{text-align:center;padding:22px;color:#f1d895;font-size:14px}.feng-active-filter{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:5px 0 12px;font-size:13px;color:#efdbae}
.feng-filter-dialog{width:min(420px,calc(100% - 32px));max-height:85dvh;padding:24px;border:1px solid #ccb07180;border-radius:24px;color:#e9d5a9;background:#0a2434;box-shadow:0 18px 80px #0008}.feng-filter-dialog::backdrop{background:#010a14c9;backdrop-filter:blur(4px)}.feng-dialog-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:22px}.feng-dialog-top h2{font:600 23px Georgia,serif;margin:0}.feng-filter-dialog label{display:block;font-size:13px;margin:17px 0}.feng-filter-dialog select{display:block;width:100%;background:#102e3e;border:1px solid #d5b57455;border-radius:12px;color:#eae0c7;padding:12px;margin-top:9px;font-size:13px}.feng-filter-dialog .feng-check{display:flex;align-items:center;gap:10px;line-height:1.6}.feng-check input{width:18px;height:18px;accent-color:#d8b56f}.feng-dialog-actions{display:flex;gap:10px;margin-top:24px}.feng-dialog-actions button{flex:1;border-radius:20px;padding:12px 10px;border:1px solid #d1ae6977;background:#173343;color:#e5cc99;font-size:12px}.feng-dialog-actions button[type=submit]{background:#e1bd75;color:#112b36;font-weight:700}
.feng-reading .feng-label{display:block;margin-top:6px}.feng-article-title{font:600 clamp(28px,7.5cqw,36px)/1.32 Georgia,'Times New Roman',serif;color:#f3dbac;margin:14px 0 20px;letter-spacing:-.4px}.feng-article-summary{font-size:15px;line-height:1.75;color:#bcc5c1;margin:0 0 20px}.feng-article-meta{display:flex;align-items:center;gap:12px;color:#d4b880;margin-bottom:23px;font-size:12px}.feng-article-meta>span{flex:1}.feng-article-meta small{display:block;margin-top:6px;font-size:11px;color:#a3b3b5}.feng-article-meta .feng-save{width:38px;height:40px;border:1px solid var(--feng-line);border-radius:12px;flex-basis:38px}.feng-font-button{width:38px;height:40px;border-radius:12px;border:1px solid var(--feng-line);background:#102a39;color:#e6c88e;font-size:15px!important}.feng-article-cover{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:18px;border:1px solid var(--feng-line);margin-bottom:25px}.feng-toc{border:1px solid var(--feng-line);border-radius:15px;padding:16px 18px;background:#0b2535;margin:22px 0 30px;color:#dac393}.feng-toc summary{font-weight:600;font-size:14px;cursor:pointer}.feng-toc ol{margin:15px 0 0;padding-left:20px}.feng-toc li{padding:6px 0}.feng-toc button{background:none;border:0;color:#bfcbc7;text-align:left;font-size:13px;line-height:1.6}
.feng-article-body{font-size:16px;line-height:1.9;color:#d4d8cf;overflow-wrap:anywhere}.feng-article-body h2{font:600 23px/1.4 Georgia,'Times New Roman',serif;color:#e5c58b;margin:34px 0 15px;scroll-margin-top:20px}.feng-article-body p{margin:0 0 20px}.feng-article-body ul,.feng-article-body ol{padding-left:24px;margin-bottom:24px}.feng-article-body li{padding:5px 0}.feng-article-body strong{color:#eedab2}.feng-reading-large .feng-article-body{font-size:19px}.feng-image-unavailable{visibility:hidden}
.feng-table-scroll{overflow-x:auto;margin:24px 0;border:1px solid var(--feng-line);border-radius:12px}.feng-table-scroll table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.65}.feng-table-scroll th,.feng-table-scroll td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--feng-line);white-space:nowrap}.feng-table-scroll th{color:#ecd09b;background:#102c3c}.feng-table-scroll tr:last-child td{border-bottom:0}.feng-table-scroll tbody tr:nth-child(even){background:#0d283650}

.feng-article-source{font-size:14px;line-height:1.7;color:#e4c88e;border-top:1px solid #bb95464d;padding-top:20px;margin:26px 0;overflow-wrap:anywhere}.feng-reading .feng-label{display:inline-flex}.feng-reading .feng-article-cover{width:100%;height:auto;aspect-ratio:16/10}.feng-article-meta .feng-save{position:static}.feng-reading .feng-load-more{width:100%;white-space:normal;font-size:13px!important;padding-left:24px;padding-right:24px}.feng-reading .feng-section-title h2{font-size:19px;flex-shrink:1}.feng-reading .feng-magazine-content{padding-bottom:25px}
@container(min-width:500px){.feng-magazine-header{min-height:28cqw;padding:2.2cqw 5cqw 3.5cqw}.feng-header-top>div{gap:1.8cqw}.feng-circle{width:8cqw;height:8cqw;max-width:75px;max-height:75px}.feng-circle svg{width:4.5cqw;height:4.5cqw;max-width:40px;max-height:40px}.feng-header-title{margin-top:2.4cqw}.feng-magazine-content{padding:0 2.8cqw}.feng-search{height:8cqw;max-height:75px;margin:0 2cqw 1.3cqw;padding:0 3cqw;border-width:2px;border-radius:50px}.feng-search input{font-size:clamp(16px,3.2cqw,30px)}.feng-search-cloud{width:16cqw;max-width:153px}.feng-search>svg:not(.feng-search-cloud){width:4cqw;height:4cqw}.feng-topic{font-size:clamp(14px,2.34cqw,22px)!important;padding:1cqw 1.65cqw;line-height:1.3}.feng-topic-scroll{gap:.8cqw;margin-bottom:1.1cqw}.feng-featured{border-radius:20px;margin-bottom:2cqw;border-width:2px}.feng-featured-copy{bottom:2cqw;left:2cqw;right:10cqw}.feng-featured-badge{font-size:clamp(17px,3cqw,28px);left:2cqw;top:2cqw;padding:.3cqw 1.4cqw .3cqw .6cqw}.feng-featured-badge svg{width:4cqw;height:4cqw;max-width:35px;max-height:35px}.feng-featured .feng-meta{font-size:clamp(11px,2.2cqw,21px);gap:1.2cqw}.feng-meta svg{width:2.8cqw;height:2.8cqw;max-width:24px;max-height:24px}.feng-featured-arrow{width:7.5cqw;height:7.5cqw;max-width:70px;max-height:70px;right:2.2cqw;bottom:3cqw}.feng-featured-arrow svg{width:4cqw;height:4cqw}.feng-section-title{gap:1.4cqw;margin-bottom:1.5cqw}.feng-cloud-left,.feng-cloud-right{width:9cqw;height:5cqw;max-width:85px;max-height:48px}.feng-list{gap:1.5cqw}.feng-row{border-radius:20px}.feng-row-copy{padding:1cqw 2cqw 1.3cqw 2.6cqw;min-height:19cqw}.feng-label{font-size:clamp(12px,2cqw,19px);gap:.7cqw;padding:.2cqw 1cqw}.feng-label svg{width:2.7cqw;height:2.7cqw;max-width:24px;max-height:24px}.feng-row h3{font-size:clamp(17px,2.34cqw,22px);margin:.7cqw 0;line-height:1.16}.feng-row-copy>p{padding-right:4cqw;font-size:clamp(14px,2.2cqw,21px);line-height:1.25;margin-bottom:.7cqw}.feng-row-bottom{padding-right:5cqw}.feng-row .feng-meta{font-size:clamp(10px,1.9cqw,18px);gap:1cqw}.feng-row .feng-meta svg{width:2.5cqw;height:2.5cqw;max-width:23px;max-height:23px}.feng-save{width:5cqw;height:5cqw;right:1cqw;top:1cqw;max-width:45px;max-height:45px}.feng-save svg{width:2.8cqw;height:3.4cqw;max-width:26px;max-height:32px}.feng-open-arrow{width:7cqw;height:7cqw;max-width:66px;max-height:66px;right:1.8cqw;bottom:2cqw}.feng-open-arrow svg{width:4cqw;height:4cqw;max-width:36px;max-height:36px}.feng-load-more{font-size:clamp(18px,3.6cqw,34px)!important;max-width:480px;padding:1.5cqw 6cqw;margin-top:2.4cqw}.feng-load-more svg:not(.feng-reference-art){width:3cqw;height:3cqw}.feng-more-cloud-left,.feng-more-cloud-right{width:7cqw;max-width:60px}.feng-footer-art{height:3cqw}.feng-lotus-left,.feng-lotus-right{height:12cqw;max-height:118px}.feng-reading{max-width:660px}.feng-reading .feng-row h3{font-size:19px}.feng-reading .feng-row-copy>p{font-size:14px}.feng-reading .feng-row .feng-meta{font-size:11px}.feng-reading .feng-label{font-size:12px}.feng-reading .feng-row-copy{min-height:145px;padding:8px 40px 10px 15px}.feng-reading .feng-open-arrow{width:30px;height:30px;right:7px;bottom:7px}.feng-reading .feng-save{width:32px;height:32px;right:3px;top:3px}.feng-reading .feng-article-meta .feng-save{position:static}}
@media(max-width:359px){.feng-magazine-header{padding-left:16px;padding-right:16px}.feng-header-title h1{font-size:22px}.feng-header-title p{font-size:12px}.feng-magazine-content{padding-left:9px;padding-right:9px}.feng-row-copy{padding-left:7px;min-height:98px;padding-right:28px}.feng-row h3{font-size:12.5px}.feng-row-copy>p{font-size:11px}.feng-row .feng-meta{font-size:8.5px;gap:3px}.feng-row .feng-meta>span{gap:3px}.feng-featured h2{font-size:16px}.feng-featured .feng-meta{font-size:9px}.feng-load-more{font-size:13px!important;width:76%}.feng-reading .feng-load-more{width:100%}}
@media(prefers-reduced-motion:reduce){.feng-articles-page *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Only the featured stage changes; the badge, controls and article list stay mounted. */
.feng-featured-stage{position:absolute;inset:0;isolation:isolate}.feng-featured-stage:after{z-index:0}.feng-featured-stage.is-entering{animation:feng-slide-enter .42s ease-out both}.feng-featured h2{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.feng-featured-badge{z-index:4;overflow:visible;pointer-events:none}.feng-carousel-tools{position:absolute;right:8px;top:8px;z-index:4;display:flex;align-items:center;gap:5px;padding:2px 3px 2px 8px;border:1px solid #e1bb6b80;border-radius:20px;background:#001624ba;color:#fff0c2;backdrop-filter:blur(5px)}.feng-carousel-count{font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}.feng-carousel-pause{display:grid;place-items:center;border:0;border-radius:50%;width:24px;height:24px;padding:0;background:#d3ae5824;color:#fff0c2;font:700 12px/1 Arial,sans-serif!important}.feng-carousel-pause:hover{background:#d3ae5850}.feng-living-flame{position:relative;display:inline-block;width:20px;height:25px;flex:0 0 20px;margin:-3px 1px -1px;pointer-events:none}.feng-featured-badge .feng-living-flame svg{width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 2px #ff7b32b3);animation:feng-flame-float 2.3s ease-in-out infinite}.feng-flame-outer,.feng-flame-inner,.feng-flame-core{transform-box:fill-box;transform-origin:50% 100%}.feng-flame-outer{animation:feng-flame-flicker .85s ease-in-out infinite alternate}.feng-flame-inner{animation:feng-flame-flicker .63s -.2s ease-in-out infinite alternate-reverse}.feng-flame-core{animation:feng-flame-glow .47s ease-in-out infinite alternate}.feng-ember{position:absolute;left:47%;bottom:60%;width:2px;height:3px;background:#ffe7a2;border-radius:60%;box-shadow:0 0 3px #ff8f37;opacity:0;animation:feng-ember-rise 1.6s linear infinite;--feng-drift:6px}.feng-ember-two{left:35%;width:1.5px;height:2px;--feng-drift:-5px;animation-delay:-.55s;animation-duration:1.9s}.feng-ember-three{left:62%;width:1.5px;height:2px;--feng-drift:3px;animation-delay:-1.2s;animation-duration:1.4s}.feng-featured.is-inactive .feng-living-flame *{animation-play-state:paused!important}
@keyframes feng-slide-enter{from{opacity:.35;transform:translateX(10px)}to{opacity:1;transform:translateX(0)}}
@keyframes feng-flame-float{0%,100%{transform:translateY(0) rotate(-2deg)}45%{transform:translateY(-1.5px) rotate(2deg)}75%{transform:translateY(-.4px) rotate(-1deg)}}
@keyframes feng-flame-flicker{0%{transform:scale(.96,1.03) skewX(-3deg)}38%{transform:scale(1.03,.96) skewX(2deg)}70%{transform:scale(.94,1.08) skewX(-1deg)}100%{transform:scale(1.02,1) skewX(3deg)}}
@keyframes feng-flame-glow{from{opacity:.72;transform:scaleX(.9)}to{opacity:1;transform:scaleX(1.08)}}
@keyframes feng-ember-rise{0%{opacity:0;transform:translate(0,0) scale(.8)}12%{opacity:.9}65%{opacity:.65}100%{opacity:0;transform:translate(var(--feng-drift),-20px) scale(.15)}}
@container(min-width:500px){.feng-carousel-tools{right:2cqw;top:2cqw;gap:1cqw;padding:.4cqw .5cqw .4cqw 1.3cqw}.feng-carousel-count{font-size:clamp(12px,2cqw,18px)}.feng-carousel-pause{width:4.7cqw;height:4.7cqw;max-width:44px;max-height:44px;font-size:clamp(15px,2.5cqw,23px)!important}.feng-living-flame{width:4.2cqw;height:5.2cqw;flex-basis:4.2cqw;max-width:40px;max-height:49px}.feng-featured-badge .feng-living-flame svg{max-width:none;max-height:none}.feng-ember{width:3px;height:4px}.feng-ember-two,.feng-ember-three{width:2px;height:3px}}
@media(prefers-reduced-motion:reduce){.feng-living-flame svg,.feng-living-flame path,.feng-living-flame i,.feng-featured-stage{animation:none!important}.feng-ember{display:none}}

/* R308 source /compass/tuoi-cung-r196.css */
/* R196 design system: reuse DaoQuan's existing palette/type/spacing tokens.
 * All feature styles are scoped to tc- or the new home tile. */
.home-page .tc-feature-tile{position:relative;overflow:hidden;background:var(--dq-color-tile-bg)!important}.tc-feature-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.tc-feature-tile:after{content:'';position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#001322f2)}.home-page .tc-feature-tile b{left:3px;right:3px;bottom:7px;z-index:1;font:700 11px/1.4 var(--dq-font-body);text-align:center;color:var(--dq-color-on-dark);text-shadow:0 2px 4px #000}.tc-feature-tile>svg{z-index:2}
.tc-page{--tc-good:#196447;--tc-care:#914026;--tc-soft:#fffaf1;--tc-line:#c7a269;--tc-shadow:0 5px 18px #0013221f;font-family:var(--dq-font-body);color:var(--dq-color-on-dark)}.tc-page *{box-sizing:border-box}.tc-content{display:grid;gap:var(--dq-space-4);padding-bottom:calc(32px + env(safe-area-inset-bottom));min-width:0}.tc-page [hidden]{display:none!important}.tc-page button,.tc-page input,.tc-page select{font-family:var(--dq-font-body)}.tc-page button,.tc-page summary{touch-action:manipulation}.tc-page button:focus-visible,.tc-page a:focus-visible,.tc-page summary:focus-visible{outline:2px solid var(--dq-color-focus);outline-offset:3px}.tc-page input[type=checkbox],.tc-page input[type=radio]{accent-color:var(--dq-ink)}
.tc-capsule{display:flex;justify-content:center}.tc-capsule .dq-chip{gap:8px;font-size:14px;color:var(--dq-color-accent-soft);background:var(--dq-color-button-gradient);border-color:var(--dq-color-border);box-shadow:var(--dq-shadow-control);padding:10px 17px}.tc-intro{display:flex;gap:12px;align-items:center;padding:12px;border:1px solid var(--dq-color-border);border-radius:var(--dq-radius-card);background:linear-gradient(120deg,#092e44e6,#062238c9);box-shadow:var(--dq-shadow-card)}.tc-intro>img{width:73px;height:85px;flex:none;object-fit:cover;border:1px solid var(--dq-gold);border-radius:var(--dq-radius-sm)}.tc-intro>div{min-width:0}.tc-intro small{font-size:8px;letter-spacing:.5px;color:#f2cf88}.tc-intro ul{display:grid;gap:5px;font-size:11px;line-height:1.55;padding-left:15px;margin:7px 0 0;color:#f0e5cd}.tc-intro li::marker{color:#e2bd77}
.tc-page .tc-form-card{position:relative;overflow:hidden;padding:var(--dq-space-4);background:linear-gradient(150deg,#fffaf1,#f8eddb);border-color:var(--tc-line);box-shadow:var(--tc-shadow);scroll-margin-top:12px}.tc-form-card:before{content:'';position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,#c69b55,#742016,#c69b55)}.tc-card-heading{display:flex;align-items:center;gap:10px;margin-bottom:11px}.tc-icon{width:37px;height:37px;display:grid;place-items:center;flex:none;border:1px solid #cba772;border-radius:12px;color:#a07432;background:linear-gradient(#fffbf1,#efe0c5)}.tc-icon svg{width:21px;height:21px}.tc-card-heading>div{flex:1;min-width:0}.tc-card-heading small{font-size:8px;letter-spacing:.5px;color:#826138}.tc-card-heading h2{font-size:20px!important;line-height:1.3;margin:3px 0 0!important;color:var(--dq-color-text)}.tc-edit-badge{display:inline-flex;padding:4px 8px;border:1px solid #cba56e;border-radius:999px;font-size:10px;color:#876130;background:#fff8e7;white-space:nowrap}.tc-form-note{font-size:11px;line-height:1.65;margin:0 0 16px!important;color:#776344}
.tc-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 10px}.tc-full{grid-column:1/-1}.tc-page .dq-field>span{font-size:12px;font-weight:600;color:#4b4033}.tc-page .dq-input{min-height:44px;font-size:14px!important;background:#fffdf9;color:#173746;border-color:#d4b786;border-radius:10px;box-shadow:inset 0 1px 2px #5c35170a}.tc-page input[type=number]{appearance:textfield;-moz-appearance:textfield}.tc-page input::-webkit-inner-spin-button,.tc-page input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.tc-page select{color-scheme:light}.tc-segment,.tc-date{min-width:0;margin:0;padding:0;border:0}.tc-segment legend,.tc-date legend{font-size:12px;font-weight:600;color:#4b4033;margin:0 0 5px;padding:0}.tc-segment>div{display:flex;border:1px solid #d3b180;border-radius:10px;overflow:hidden;background:#fffdfa;min-height:44px}.tc-segment label{position:relative;flex:1;min-width:0;text-align:center;cursor:pointer}.tc-segment label+label{border-left:1px solid #d3b180}.tc-segment input{position:absolute;width:1px;height:1px;clip-path:inset(50%)}.tc-segment span{display:grid;place-items:center;width:100%;min-height:42px;padding:9px 7px;color:#65513a;font-size:13px;font-weight:700}.tc-segment input:checked+span{color:#fff1ce;background:var(--dq-color-button-gradient)}.tc-segment input:focus-visible+span{box-shadow:inset 0 0 0 2px #d3a15a}.tc-date>div{display:grid;grid-template-columns:1fr 1fr 1.35fr;gap:8px}.tc-date label{display:grid;gap:4px;min-width:0}.tc-date label>span{font-size:10px;color:#897659}.tc-date input{padding-inline:9px!important;width:100%}.tc-check{display:flex;align-items:flex-start;gap:9px;min-height:34px;color:#4b4033;font-size:12px;line-height:1.55;cursor:pointer}.tc-check input{flex:none;width:17px;height:17px;margin:2px 0 0}.tc-check small{display:block;font-size:10px!important;color:#897659;margin-top:2px}.tc-time{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:10px;background:#f1e6d4;border-radius:10px;border:1px solid #dac6a6}
.tc-form-actions{display:grid;gap:8px;margin-top:17px}.tc-page .tc-primary{width:100%;font-size:13px;min-height:46px;box-shadow:var(--tc-shadow)}.tc-page .tc-secondary{font-size:12px;color:#755528;background:#fffaf1;border-color:#d4b786;min-height:42px}.tc-preview{font-size:11px;line-height:1.8;color:#6a5134;border-top:1px solid #d8c7a7;padding-top:11px;margin:12px 0 0!important;overflow-wrap:anywhere}.tc-preview b{color:#663b23}.tc-preview>span{color:#9b4428}.tc-error{font-size:12px;line-height:1.6;color:#8a2d1e;background:#fff0e7;border-left:3px solid #9c442b;border-radius:5px;padding:10px;margin-top:12px!important}.tc-notice{font-size:11px;line-height:1.6;color:#efd399;background:#14334a;border:1px solid #9b7b45;border-radius:10px;padding:10px 12px;margin:0!important}
.tc-board-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.tc-board-heading small,.tc-concepts>small{font-size:9px;color:#d5b87d;letter-spacing:.7px}.tc-board-heading h2{font-size:23px;margin:4px 0 0!important;color:#ffebbe}.tc-count{border:1px solid #aa864b;border-radius:999px;padding:5px 10px;font-size:11px;white-space:nowrap;color:#efce92;background:#0a293e}.tc-board-sub{font-size:11px;line-height:1.65;color:#e2d5be;margin:9px 0 14px!important}.tc-board-tools{display:grid;gap:11px;margin-bottom:14px}.tc-view-tabs{display:flex;gap:0;padding:3px;background:#042338;border:1px solid #aa874e;border-radius:12px}.tc-view-tabs button{flex:1;min-height:38px;padding:7px;border:0;border-radius:8px;background:transparent;color:#e4ca9b;font-size:12px;font-weight:700;cursor:pointer}.tc-view-tabs button[aria-pressed=true]{background:linear-gradient(#fbeac3,#d6b37b);color:#173548;box-shadow:0 2px 4px #0004}.tc-export-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-export-actions .dq-button{font-size:12px;padding-inline:8px;background:linear-gradient(#fcf4e0,#e6c78d);color:#1c3543;border-color:#dcbf8a;min-height:42px}
.tc-people{display:grid;gap:13px}.tc-page .tc-person{padding:14px;background:linear-gradient(140deg,#fffaf1,#f4e8d1);border-color:var(--tc-line);scroll-margin-top:12px;box-shadow:var(--tc-shadow);min-width:0}.tc-person.is-active{box-shadow:inset 0 0 0 1px #b08a4d,var(--tc-shadow)}.tc-person-top{display:flex;align-items:center;gap:8px}.tc-person-number{display:grid;place-items:center;width:30px;height:30px;flex:none;border-radius:10px;background:#0f3448;color:#ffe5a9;font-size:12px}.tc-person-top>div{flex:1;min-width:0}.tc-person-top h3{font-size:17px;margin:0!important;line-height:1.35;color:#153544;overflow-wrap:anywhere}.tc-person-top p{font-size:10px;line-height:1.6;color:#867250;margin:4px 0 0!important}.tc-icon-button{display:inline-grid;place-items:center;width:36px;height:40px;flex:none;border:1px solid #c9ad81;border-radius:10px;background:#fff9ed;color:#8f6832;font-size:24px;cursor:pointer}.tc-icon-button svg{width:17px;height:17px}.tc-birth-line{display:flex;flex-wrap:wrap;gap:4px 12px;padding:11px 0 10px;font-size:11px;line-height:1.65;color:#73634b}.tc-birth-line>span{display:inline-flex;align-items:center;gap:4px}.tc-birth-line svg{width:13px;height:13px}.tc-age-row{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px 0 12px;border-top:1px solid #d2bd9955;font-size:10px;color:#634c2f}.tc-age-row>span{padding:4px 7px;border-radius:7px;border:1px solid #d1b682;background:#fff9eb}.tc-age-row b{color:#173748;font-size:13px;margin-left:4px}.tc-palace-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-palace-grid>div{position:relative;display:flex;flex-direction:column;min-width:0;min-height:94px;padding:10px;border:1px solid #d3b785;border-radius:12px;background:linear-gradient(130deg,#fffcf6,#eee0c3)}.tc-palace-grid small{color:#8b6b3e;font-size:10px!important;padding-right:28px}.tc-palace-grid span{position:absolute;right:9px;top:6px;font-size:23px;color:#bd9554;line-height:1.2}.tc-palace-grid b{font:700 17px/1.35 var(--dq-font-display);color:#163947;margin:6px 0;overflow-wrap:anywhere}.tc-palace-grid em{font-size:9px;font-style:normal;color:#897350;line-height:1.5;margin-top:auto}.tc-shift-note{margin:11px 0 0!important;padding:8px;border:1px solid #c8a975;border-radius:8px;font-size:10px;line-height:1.65;color:#785329;background:#fff9ed}.tc-term-note{border:1px solid #d2b585;border-radius:10px;background:#fcf0d5;padding:10px;margin-top:12px;font-size:11px;color:#71512e}.tc-term-note>b{display:flex;align-items:center;gap:5px;font-size:11px;line-height:1.6}.tc-term-note svg{width:15px;height:15px}.tc-term-note p{margin:6px 0 0!important;font-size:11px;line-height:1.7}.tc-term-note>div{display:grid;gap:7px;margin-top:9px}.tc-term-note span{padding:6px 7px;border:1px solid #d2b585;border-radius:6px;background:#fffaf0}.tc-term-warning{border-color:#bb7f52;background:#fff1e0;color:#884124}
.tc-directions{margin-top:12px;border-top:1px solid #c8b18d;padding-top:8px}.tc-directions>summary{display:flex;align-items:center;gap:7px;cursor:pointer;min-height:38px;font-size:11px;font-weight:700;color:#3d594f;list-style:none}.tc-directions>summary:after{content:'⌄';font-size:18px;margin-left:auto}.tc-directions[open]>summary:after{transform:rotate(180deg)}.tc-directions>p{font-size:10px;line-height:1.7;color:#6b6859;margin:3px 0 10px!important}.tc-direction-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.tc-direction{display:flex;gap:6px;padding:9px 7px;border-radius:9px;border:1px solid #c6b791;background:#fcfbf4;min-width:0}.tc-direction>span{font-size:22px;line-height:1.4;flex:none}.tc-direction>div{display:flex;flex-direction:column;gap:4px;min-width:0}.tc-direction b{font-size:10px;line-height:1.4}.tc-direction strong{font-size:11px;line-height:1.5}.tc-direction small{font-size:9px!important;line-height:1.6;color:#756957}.tc-good{color:var(--tc-good);border-color:#7baf9399;background:#f4f8ee}.tc-care{color:var(--tc-care);border-color:#c09c7799;background:#fff6ec}
.tc-table-hint{font-size:10px;line-height:1.6;color:#e4c998;margin:0 0 7px!important}.tc-table-scroll{overflow:auto;max-height:70dvh;border:1px solid #d4b785;border-radius:12px;background:#fffaf0;overscroll-behavior:contain}.tc-table{border-collapse:collapse;width:100%;min-width:1180px;font-size:11px;line-height:1.6;color:#243d47}.tc-table th,.tc-table td{padding:10px 9px;border:1px solid #d6c39e;vertical-align:top;text-align:left;white-space:normal;overflow-wrap:normal;min-width:65px}.tc-table thead th{position:sticky;top:0;background:#12394b;color:#fff0c5;font-size:11px;font-weight:700;z-index:1}.tc-table tbody th{min-width:120px;max-width:180px;font-weight:700}.tc-table tbody tr:nth-child(even){background:#f6edda}.tc-table td:nth-child(5){min-width:130px}.tc-table-note{margin:11px 0 0!important;color:#dbcca9;font-size:10px;line-height:1.65}.tc-empty{text-align:center;padding:22px 16px!important}.tc-empty>svg{width:30px;height:30px;color:#ae844b;margin-bottom:10px}.tc-empty h3{font-size:18px;color:#31515f}.tc-empty p{font-size:12px;line-height:1.7;color:#786d5a}
.tc-concepts>h2{font-size:22px;color:#fff0cc;line-height:1.4;margin:5px 0 8px!important}.tc-concepts>p{font-size:11px;line-height:1.7;color:#e2d2b3;margin:0 0 13px!important}.tc-concepts>div{display:grid;gap:10px}.tc-concepts article{display:flex;align-items:flex-start;gap:11px;padding:13px!important;background:linear-gradient(135deg,#fff9ec,#f0e2c8)!important}.tc-concepts article>div{min-width:0}.tc-concepts h3{font-size:17px;line-height:1.35;color:#193b48;margin-bottom:6px!important}.tc-concepts article p{font-size:11px;line-height:1.8;color:#6c604d}.tc-method{margin-top:13px;color:#dfc99e;border:1px solid #ab864a;border-radius:12px;padding:7px 12px;background:#0c2b40d9}.tc-method summary{cursor:pointer;font-size:12px;font-weight:700;min-height:38px;padding:10px 0}.tc-method ul{padding-left:19px;display:grid;gap:9px;font-size:11px;line-height:1.75;margin:8px 0 11px}
.tc-dialog{width:min(94vw,430px);max-height:88dvh;overflow:auto;border:1px solid #b89154;border-radius:var(--dq-radius-panel);padding:20px;color:#233d48;background:#fffaf0;font:14px/1.65 var(--dq-font-body);box-shadow:0 15px 60px #0008}.tc-dialog::backdrop{background:#001324c9;backdrop-filter:blur(4px)}.tc-dialog h2{font:700 21px/1.4 var(--dq-font-display);margin:0 0 12px}.tc-dialog p{margin:10px 0 15px;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.tc-dialog>div:last-child{display:flex;gap:8px;justify-content:flex-end}.tc-dialog .dq-button{font-size:12px}.tc-dialog-title{display:flex;align-items:center;justify-content:space-between;gap:8px}.tc-dialog-title h2{margin:0}.tc-image-dialog{width:min(94vw,760px)}.tc-image-dialog>label{margin-top:15px}.tc-image-dialog>img{display:block;width:100%;height:auto;margin:16px 0;border:1px solid #b89154;background:white}.tc-image-dialog>a{width:100%;text-decoration:none;cursor:pointer}.tc-image-dialog>p{margin-bottom:0}.tc-print-report{display:none}
@media(max-width:350px){.tc-intro{gap:8px;padding:9px}.tc-intro>img{width:59px;height:82px}.tc-intro ul{font-size:10px}.tc-intro small{font-size:7px}.tc-page .tc-form-card{padding:13px}.tc-capsule .dq-chip{font-size:13px}.tc-card-heading small{font-size:7px}.tc-card-heading h2{font-size:19px!important}.tc-form-actions .dq-button{font-size:12px}.tc-person-top{gap:5px}.tc-person-top h3{font-size:15px}.tc-person-top .tc-icon-button{width:31px;height:38px}.tc-person-number{width:26px;height:28px}.tc-palace-grid>div{padding:8px}.tc-palace-grid b{font-size:16px}.tc-direction-grid{grid-template-columns:1fr}.tc-content{gap:14px}}
@media(min-width:680px){.tc-form-actions{grid-template-columns:1.4fr 1fr}.tc-intro ul{font-size:13px}.tc-intro small{font-size:10px}.tc-intro>img{width:92px;height:100px}}
@media(prefers-reduced-motion:reduce){.tc-page *{scroll-behavior:auto!important;transition:none!important}}
@page tc-report{size:A4 landscape;margin:10mm;background:#fff}
@media print{body:has(.tc-page),html:has(.tc-page){background:#fff!important;color-scheme:light!important;margin:0!important;padding:0!important;color:#172e39!important}body:has(.tc-page)>:not(#app){display:none!important}.tc-page{width:auto!important;max-width:none!important;margin:0!important;padding:0!important;min-height:0!important;background:white!important;color:#172e39!important;box-shadow:none!important;overflow:visible!important}.tc-page>:not(.tc-print-report){display:none!important}.tc-print-report{display:block!important;page:tc-report;color:#172e39;font-family:var(--dq-font-body);font-size:11px}.tc-print-report>h1{font:700 21px/1.4 var(--dq-font-display);text-align:center;margin:0 0 5px}.tc-print-report>p{font-size:10px;line-height:1.6;margin:6px 0 10px}.tc-print-report>p:first-of-type{text-align:center}.tc-print-report .tc-table{min-width:0;width:100%;table-layout:fixed;font-size:10px}.tc-print-report .tc-table th,.tc-print-report .tc-table td{padding:6px 4px;min-width:0!important;max-width:none!important;font-size:10px;overflow-wrap:anywhere}.tc-print-report .tc-table thead{display:table-header-group}.tc-print-report .tc-table thead th{position:static;background:#e8ddc7;color:#14303e}.tc-print-report .tc-table tr{break-inside:avoid}.tc-print-report .tc-table th:nth-child(1){width:3%}.tc-print-report .tc-table th:nth-child(2){width:13%}.tc-print-report .tc-table th:nth-child(3){width:6%}.tc-print-report .tc-table th:nth-child(4){width:4%}.tc-print-report .tc-table th:nth-child(5){width:11%}.tc-print-report .tc-table th:nth-child(6){width:6%}.tc-print-report .tc-table th:nth-child(7){width:7%}.tc-print-report .tc-table th:nth-child(8){width:10%}.tc-print-report .tc-table th:nth-child(9){width:7%}.tc-print-report .tc-table th:nth-child(10),.tc-print-report .tc-table th:nth-child(11){width:9%}.tc-print-report .tc-table th:nth-child(12){width:7%}}
