:root{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#2b2522;background:#f7f4ef}*{box-sizing:border-box}body{margin:0}.topbar{background:#3e241b;color:#fff;padding:16px 24px;display:flex;justify-content:space-between;align-items:center}.topbar a{color:#fff;text-decoration:none;margin-left:16px}.wrap{max-width:1100px;margin:32px auto;padding:0 20px}.card{background:#fff;border:1px solid #eadfd5;border-radius:14px;padding:24px;box-shadow:0 6px 24px rgba(64,36,27,.06);margin-bottom:20px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.stat{padding:18px;background:#fff8ee;border-radius:12px}.btn{display:inline-block;background:#b96742;color:#fff;border:0;border-radius:9px;padding:11px 16px;text-decoration:none;cursor:pointer}.btn.secondary{background:#6f625c}.btn.danger{background:#9d3c3c}input,select{width:100%;padding:10px 12px;border:1px solid #d8cbc1;border-radius:8px;margin-top:5px}label{display:block;margin:12px 0}.alert{padding:12px 14px;border-radius:8px;margin:14px 0;background:#eef7ef}.alert.error{background:#fdecec;color:#7f2020}.muted{color:#746963;font-size:.93rem}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:10px;border-bottom:1px solid #eee}.steps{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.step{padding:6px 10px;border-radius:99px;background:#eee}.step.active{background:#f3c98b}
.hint{display:block;color:#82766f;font-size:.82rem;margin-top:6px}.notice{background:#fff8e8;border:1px solid #ead7a2;border-radius:10px;padding:13px 15px;margin:16px 0}.alert.warning{background:#fff4d8;color:#6f5414}.btn.small{padding:7px 10px;font-size:.88rem}.table-scroll{overflow-x:auto;overflow-y:hidden;max-width:100%}.grid-table-scroll{overflow-x:auto;overflow-y:hidden;max-width:100%}.section-title,.page-head{display:flex;justify-content:space-between;gap:18px;align-items:center}.text-link{color:#9c5438}.wrap.wide{max-width:1320px}.eyebrow,.result-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.74rem;font-weight:700;color:#9a6a55}.group-title{margin:34px 0 14px}.result-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:16px}.result-card{background:#fff;border:1px solid #eadfd5;border-radius:14px;padding:20px;box-shadow:0 4px 18px rgba(64,36,27,.045)}.result-card.emphasis{border-width:2px}.result-card h3{margin:6px 0 8px}.result-number{font-size:2rem;font-weight:800;color:#813f29;margin:12px 0}.result-pending{font-size:1.2rem;font-weight:700;color:#8b6518;margin:14px 0}.formula{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;background:#f7f2ed;border-radius:8px;padding:9px 10px;margin:10px 0 14px;overflow-wrap:anywhere}.trace-row{display:flex;justify-content:space-between;gap:12px;border-top:1px solid #f0ebe7;padding:8px 0;font-size:.88rem}.trace-row strong{text-align:right}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;letter-spacing:.03em}.pythagore{display:grid;grid-template-columns:repeat(9,1fr);gap:7px}.pythagore>div{background:#fff8ee;border:1px solid #efd6bd;border-radius:9px;padding:12px 6px;text-align:center}.pythagore b{display:block;font-size:1.25rem;color:#813f29}.pythagore span{display:block;margin-top:5px;font-size:.9rem}.choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px;margin:18px 0}.choice-card{display:flex;gap:12px;align-items:flex-start;border:1px solid #e2d6cc;border-radius:12px;padding:16px;background:#fffaf4;cursor:pointer}.choice-card input{width:auto;margin:4px 0 0}.choice-card span{display:block}.choice-card strong{display:block;margin-bottom:5px}.choice-card small{display:block;color:#746963;line-height:1.4}.page-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.page-actions form{margin:0}.timeline-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px}.timeline-card{border:1px solid #eadfd5;border-radius:12px;padding:17px;background:#fffaf6}.timeline-card h3{margin:5px 0 8px}.timeline-card .result-number{font-size:1.7rem}.timeline-card p{margin-bottom:0}
.inclusion-legend-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:10px;margin:16px 0 18px}.legend-domain,.legend-case{border-radius:10px;padding:12px 14px;font-weight:600}.legend-domain{background:#8e523a;color:#fff}.legend-case{background:#fff4de;border:1px solid #ecd3ad;color:#5f473b}.inclusion-board{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.inclusion-board-cell{border:1px solid #e8d8cb;border-radius:14px;overflow:hidden;background:#fffdf9;box-shadow:0 4px 16px rgba(64,36,27,.04)}.inclusion-domain-bar{background:linear-gradient(180deg,#b86b46 0%,#934b31 100%);color:#fff;padding:10px 14px;font-size:.82rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.inclusion-board-body{padding:14px}.inclusion-case-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.inclusion-case-name{font-weight:700;color:#5e463c}.inclusion-case-count{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:999px;background:#fff0dc;color:#8a4127;font-size:1.2rem}.inclusion-case-letters{min-height:44px;padding:10px 12px;border-radius:10px;background:#fff8ee;border:1px solid #f0ded0;line-height:1.5;overflow-wrap:anywhere}.inclusion-case-components{margin-top:12px;border-top:1px solid #efe6df;padding-top:10px}.inclusion-component-row{display:flex;justify-content:space-between;gap:12px;padding:6px 0;font-size:.88rem}.inclusion-component-row strong{text-align:right;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
@media(max-width:960px){.inclusion-board{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.page-head,.section-title{align-items:flex-start;flex-direction:column}.pythagore{grid-template-columns:repeat(3,1fr)}.page-actions{align-items:stretch;flex-direction:column}.page-actions .btn,.page-actions form,.page-actions form .btn{width:100%;text-align:center}.inclusion-board{grid-template-columns:1fr}.inclusion-component-row{flex-direction:column}.inclusion-component-row strong{text-align:left}}

.qual-rule-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px}.qual-rule-grid>div{background:#fff8ee;border:1px solid #eed9c8;border-radius:11px;padding:14px}.qual-rule-grid strong,.qual-rule-grid span{display:block}.qual-rule-grid span{margin-top:6px;color:#746963;font-size:.9rem;line-height:1.4}.inclusion-main-card{overflow:hidden}.inclusion-color-legend{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0}.yang-chip,.yin-chip{display:inline-block;border-radius:99px;padding:7px 11px;font-size:.82rem;font-weight:700}.yang-chip{background:#f2b76d;color:#58310b}.yin-chip{background:#f2d5c6;color:#603525}.inclusion-qual-table{min-width:900px;border-collapse:separate;border-spacing:5px}.inclusion-qual-table th,.inclusion-qual-table td{border:0;text-align:center;padding:12px 7px;border-radius:8px}.inclusion-qual-table .row-label{min-width:145px;text-align:left;background:#f4eee8;color:#64564e;font-size:.84rem}.domain-cell{font-size:1.15rem;font-weight:800}.domain-cell.yang{background:#f2b76d;color:#56320c}.domain-cell.yin{background:#e9c1ae;color:#5d3324}.case-value{background:#fff8e8;font-size:1.35rem;font-weight:800;color:#6f3b27;border:1px solid #f1ddc8!important}.assembly-value{background:#f6f1ec;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:700}.gap-value{background:#eee7df;font-size:1.05rem;font-weight:800;color:#5e5048}.qual-note{margin-top:14px;padding:12px 14px;border-radius:10px;background:#faf6f1;color:#65554c}.inclusion-two-columns{display:grid;grid-template-columns:1.2fr .8fr;gap:16px}.symmetry-list{display:grid;gap:9px}.symmetry-row{display:grid;grid-template-columns:38px 30px 38px 1fr;gap:8px;align-items:center;border-radius:10px;padding:10px 12px}.symmetry-row.yang{background:#fff2d9}.symmetry-row.yin{background:#f8e8e0}.symmetry-row.axis{grid-template-columns:38px 1fr;background:#f0ebe6;border:1px dashed #cbb8aa}.sym-number{font-size:1.12rem;font-weight:800;text-align:center}.sym-line{text-align:center;font-weight:800}.sym-details{font-size:.88rem;color:#695a51}.gap-frequency-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(100px,1fr));gap:9px}.gap-frequency-grid>div{background:#f6f1ec;border-radius:9px;padding:11px;text-align:center}.gap-frequency-grid span,.gap-frequency-grid strong{display:block}.gap-frequency-grid strong{font-size:1.25rem;margin-top:4px;color:#7c472f}.inclusion-domain-bar.yang{background:linear-gradient(180deg,#d18a45 0%,#ae672b 100%)}.inclusion-domain-bar.yin{background:linear-gradient(180deg,#b97b63 0%,#8d5845 100%)}@media(max-width:900px){.inclusion-two-columns{grid-template-columns:1fr}}


.inclusion-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-bottom:14px}.summary-box{border-radius:14px;padding:15px 16px;border:1px solid #eadccf;box-shadow:0 3px 12px rgba(64,36,27,.04)}.summary-box span,.summary-box strong{display:block}.summary-box span{font-size:.8rem;letter-spacing:.05em;text-transform:uppercase;font-weight:700;opacity:.88;margin-bottom:6px}.summary-box strong{font-size:1.05rem;line-height:1.35}.summary-box-total{background:linear-gradient(180deg,#fff7e8 0%,#ffefd2 100%);color:#6a4624}.summary-box-mean{background:linear-gradient(180deg,#f8efe8 0%,#f0ddd0 100%);color:#644236}.summary-box-yang{background:linear-gradient(180deg,#ffe0af 0%,#f4c67c 100%);color:#5c350d}.summary-box-yin{background:linear-gradient(180deg,#f5ddd3 0%,#e9c2b3 100%);color:#613628}
.legend-pill{display:inline-block;border-radius:999px;padding:8px 12px;font-size:.83rem;font-weight:700}.legend-domain-pill{background:#f4c67c;color:#5b340c}.legend-content-pill{background:#fff0cd;color:#71451c}.legend-assembly-pill{background:#e8ddd5;color:#554941}.legend-gap-pill{background:#d8c0b2;color:#5b3125}
.inclusion-qual-table{min-width:900px;border-collapse:separate;border-spacing:7px}.inclusion-qual-table .row-label{min-width:165px;text-align:left;font-size:.87rem;font-weight:800;letter-spacing:.01em}.row-label-domain{background:#efc784;color:#5c340b}.row-label-content{background:#ffeec5;color:#754417}.row-label-assembly{background:#ece3dd;color:#54463f}.row-label-gap{background:#dcc7bb;color:#5a3126}.domain-cell{font-size:1.18rem;font-weight:800;box-shadow:inset 0 -2px 0 rgba(0,0,0,.06)}.domain-cell.yang{background:linear-gradient(180deg,#efbb69 0%,#df9e49 100%);color:#5c340d}.domain-cell.yin{background:linear-gradient(180deg,#e2ae98 0%,#cf8e72 100%);color:#5d3023}.case-value{background:linear-gradient(180deg,#fff8ea 0%,#ffefc8 100%);font-size:1.38rem;font-weight:800;color:#6f3b27;border:1px solid #efd8aa!important}.assembly-value{background:linear-gradient(180deg,#f7f2ee 0%,#eae0d8 100%);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800;color:#564840}.gap-value{background:linear-gradient(180deg,#f1e4dd 0%,#e0c5b8 100%);font-size:1.08rem;font-weight:900;color:#5a3126}.qual-note{margin-top:16px;padding:14px 16px;border-radius:12px;background:linear-gradient(180deg,#fff8e7 0%,#f8ebcf 100%);color:#5c4a36;border-left:6px solid #d89a4d}
.inclusion-main-card{background:linear-gradient(180deg,#ffffff 0%,#fdfaf6 100%)}
.gap-frequency-grid>div{background:linear-gradient(180deg,#f8f2ee 0%,#ede1d8 100%);border:1px solid #e5d6cc}.symmetry-row.yang{background:linear-gradient(180deg,#fff2d7 0%,#f7e1b4 100%)}.symmetry-row.yin{background:linear-gradient(180deg,#fbede6 0%,#f1d6c9 100%)}


h1{margin:0 0 18px;color:#4a2719;font-size:2rem}.group-title{display:inline-flex;align-items:center;gap:10px;padding:10px 16px;border-radius:999px;background:linear-gradient(180deg,#fff1dd 0%,#f5ddbe 100%);border:1px solid #ebd1b0;color:#613627;box-shadow:0 4px 14px rgba(64,36,27,.05)}
.card h2{margin-top:0;color:#5a3123}.card h3{color:#694031}.table-card{background:linear-gradient(180deg,#ffffff 0%,#fcf8f3 100%)}
.notter-table{width:100%;border-collapse:separate;border-spacing:0 8px}.notter-table thead th{background:linear-gradient(180deg,#b86d48 0%,#974d32 100%);color:#fff;padding:12px 14px;border:0;font-size:.9rem;font-weight:700}.notter-table thead th:first-child{border-top-left-radius:10px;border-bottom-left-radius:10px}.notter-table thead th:last-child{border-top-right-radius:10px;border-bottom-right-radius:10px}.notter-table tbody td{background:#fff;border-top:1px solid #f0e2d6;border-bottom:1px solid #f0e2d6;padding:12px 14px;vertical-align:top}.notter-table tbody td:first-child{border-left:1px solid #f0e2d6;border-top-left-radius:10px;border-bottom-left-radius:10px}.notter-table tbody td:last-child{border-right:1px solid #f0e2d6;border-top-right-radius:10px;border-bottom-right-radius:10px}.notter-table tbody tr:nth-child(even) td{background:#fff9f3}.notter-table tbody tr:hover td{background:#fff3e4}.notter-table .mono{font-size:.95rem}
.notice,.alert,.qual-note{box-shadow:0 4px 12px rgba(64,36,27,.04)}.stat{background:linear-gradient(180deg,#fff8ee 0%,#fdebd7 100%);border:1px solid #efd9c4}.result-card{background:linear-gradient(180deg,#ffffff 0%,#fffaf6 100%)}.result-card.emphasis{background:linear-gradient(180deg,#fffaf0 0%,#fce7c8 100%);border-color:#efc780}.timeline-card{background:linear-gradient(180deg,#fffaf6 0%,#fdf0e3 100%)}
.qual-rule-grid>div:nth-child(1){background:linear-gradient(180deg,#fff3e1 0%,#f7dfbe 100%)}.qual-rule-grid>div:nth-child(2){background:linear-gradient(180deg,#f8eee8 0%,#ead4c8 100%)}.qual-rule-grid>div:nth-child(3){background:linear-gradient(180deg,#fff7ea 0%,#efe4d4 100%)}.qual-rule-grid>div:nth-child(4){background:linear-gradient(180deg,#fbece6 0%,#f0d5c9 100%)}
.section-title h2{margin-bottom:0}


.domiciliation-card{background:linear-gradient(180deg,#fffdf9 0%,#f9f0e6 100%)}.source-badge{display:inline-block;padding:7px 11px;border-radius:999px;background:#5f3a2c;color:#fff;font-size:.78rem;font-weight:700}.where-how-table{width:100%;border-collapse:separate;border-spacing:0 7px;min-width:760px}.where-how-table th{background:#5d392b;color:#fff;border:0;padding:11px 12px;text-align:center}.where-how-table th:first-child{border-radius:10px 0 0 10px}.where-how-table th:last-child{border-radius:0 10px 10px 0}.where-how-table td{background:#fff;padding:11px 12px;border-top:1px solid #eaded4;border-bottom:1px solid #eaded4;text-align:center}.where-how-table td:first-child{border-left:1px solid #eaded4;border-radius:10px 0 0 10px}.where-how-table td:last-child{border-right:1px solid #eaded4;border-radius:0 10px 10px 0;text-align:left}.where-badge,.how-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:38px;border-radius:10px;font-size:1.08rem;font-weight:800}.where-badge{background:#f0bd72;color:#5c350e}.how-badge{background:#f3ddd1;color:#653729}.assembly-badge{display:inline-block;border-radius:9px;padding:8px 11px;background:#ebe2dc;color:#574940;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.status-badge{display:inline-block;border-radius:999px;padding:7px 10px;font-size:.8rem;font-weight:700}.status-badge.doublet{background:#dcebd8;color:#315e32}.status-badge.zero{background:#eee9e5;color:#665950}.status-badge.away{background:#fff0d2;color:#704619}.doublet-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}.doublet-card{background:linear-gradient(180deg,#eaf4e6 0%,#d9ead3 100%);border:1px solid #cadfc4;border-radius:12px;padding:13px;text-align:center}.doublet-card span,.doublet-card strong{display:block}.doublet-card span{font-size:.8rem;color:#557050}.doublet-card strong{font-size:1.35rem;color:#315c31;margin-top:4px}.empty-structural{padding:13px;border-radius:10px;background:#f5f1ed;color:#6c6058}.zero-summary{margin-top:12px;padding:11px 13px;border-radius:10px;background:#f0ebe7;color:#61544c}.inhabitant-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:9px}.inhabitant-card{display:grid;grid-template-columns:42px 1fr;gap:10px;align-items:center;border-radius:11px;padding:10px 11px;border:1px solid #eadfd6}.inhabitant-card.at-home{background:#eaf3e7}.inhabitant-card.elsewhere{background:#fff1da}.inhabitant-card.absent{background:#f4f1ef}.inhabitant-number{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:#fff;font-weight:900;color:#68402e;box-shadow:0 2px 8px rgba(64,36,27,.08)}.inhabitant-card strong,.inhabitant-card span{display:block}.inhabitant-card strong{font-size:.9rem}.inhabitant-card span{font-size:.78rem;color:#76685f;margin-top:3px}.domiciliation-columns{grid-template-columns:.8fr 1.2fr}
@media(max-width:900px){.domiciliation-columns{grid-template-columns:1fr}}

.sun-zero{display:inline-flex;align-items:center;justify-content:center;color:#d98a12;font-size:1.05em;line-height:1;text-shadow:0 0 0 rgba(0,0,0,0)}
.case-value.zero-cell,.how-badge.sun,.assembly-badge.sun,.inclusion-case-count.sun{background:linear-gradient(180deg,#fff7d6 0%,#ffe39a 100%)!important;color:#7b4f08!important;border-color:#efcf78!important}.status-badge.zero{background:linear-gradient(180deg,#fff6dc 0%,#ffe7a5 100%);color:#7b4f08}.zero-summary{background:linear-gradient(180deg,#fff6dc 0%,#ffe8b5 100%);color:#6d4c17}.assembly-value .sun-zero,.assembly-badge .sun-zero{margin-left:2px}.qual-note .sun-zero{vertical-align:middle}


/* V1.4.2 · navigation verticale */
body.with-sidebar{padding-left:248px;min-height:100vh}.app-sidebar{position:fixed;inset:0 auto 0 0;width:248px;height:100vh;display:flex;flex-direction:column;background:linear-gradient(180deg,#3f241b 0%,#2f1b15 100%);color:#fff;z-index:1000;box-shadow:5px 0 22px rgba(55,31,23,.12);overflow-y:auto;overscroll-behavior:contain}.sidebar-brand{display:flex;align-items:center;gap:12px;padding:22px 18px 20px;border-bottom:1px solid rgba(255,255,255,.1)}.sidebar-mark{display:flex;align-items:center;justify-content:center;width:42px;height:42px;flex:0 0 42px;border-radius:12px;background:linear-gradient(180deg,#efbd73 0%,#d98d43 100%);color:#4b2819;font-weight:900;letter-spacing:.03em}.sidebar-brand strong,.sidebar-brand small{display:block}.sidebar-brand strong{font-size:1.12rem}.sidebar-brand small{margin-top:3px;color:#ddc9bd;font-size:.76rem}.sidebar-nav{display:flex;flex-direction:column;gap:5px;padding:18px 12px;flex:1}.sidebar-link{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:10px;color:#f8eee8;text-decoration:none;font-weight:650;font-size:.94rem;transition:background .15s ease,transform .15s ease,color .15s ease}.sidebar-link:hover{background:rgba(255,255,255,.09);transform:translateX(2px)}.sidebar-link.active{background:linear-gradient(90deg,#efbd73 0%,#dda057 100%);color:#482719;box-shadow:0 4px 14px rgba(0,0,0,.14)}.sidebar-icon{display:flex;align-items:center;justify-content:center;width:25px;height:25px;font-size:1rem;font-weight:800}.sidebar-footer{padding:14px 12px 18px;border-top:1px solid rgba(255,255,255,.1)}.sidebar-logout{display:block;padding:10px 12px;border-radius:9px;color:#eadbd2;text-decoration:none;font-size:.9rem}.sidebar-logout:hover{background:rgba(255,255,255,.08);color:#fff}body.with-sidebar>.wrap{width:auto}.topbar{display:none!important}.sidebar-group{display:grid;gap:4px}.sidebar-subnav{display:grid;gap:8px;margin:0 0 12px 39px;padding:4px 0 2px 12px;border-left:1px solid rgba(239,189,115,.28)}.sidebar-subgroup{display:grid;gap:2px}.sidebar-subgroup>span{padding:4px 6px 2px;font-size:.66rem;letter-spacing:.08em;text-transform:uppercase;color:#d7b6a0}.sidebar-sublink{display:block;padding:6px 8px;border-radius:8px;color:#eadbd2;text-decoration:none;font-size:.8rem;line-height:1.18;transition:background .15s ease,color .15s ease}.sidebar-sublink:hover{background:rgba(255,255,255,.08);color:#fff}.sidebar-sublink.active{background:rgba(239,189,115,.18);color:#fff;box-shadow:inset 0 0 0 1px rgba(239,189,115,.22)}.sidebar-sublink-top{margin-top:4px;color:#f1c98b}
@media(max-width:900px){body.with-sidebar{padding-left:0;padding-top:68px}.app-sidebar{inset:0 0 auto 0;width:100%;height:68px;overflow:visible;display:grid;grid-template-columns:auto 1fr auto;align-items:center}.sidebar-brand{padding:10px 14px;border:0}.sidebar-mark{width:38px;height:38px;flex-basis:38px}.sidebar-brand small{display:none}.sidebar-nav{padding:7px 10px;display:flex;flex-direction:row;justify-content:flex-end;overflow-x:auto;gap:4px}.sidebar-group{display:contents}.sidebar-subnav{display:none}.sidebar-link{padding:9px 10px;white-space:nowrap}.sidebar-link span:last-child{display:none}.sidebar-link.active span:last-child{display:inline}.sidebar-footer{padding:7px 10px;border:0}.sidebar-logout{padding:8px 9px;font-size:0}.sidebar-logout:after{content:'×';font-size:1.25rem}}
@media(max-width:560px){.sidebar-brand div{display:none}.sidebar-nav{justify-content:flex-start}.sidebar-link.active span:last-child{display:none}.wrap{padding-left:14px;padding-right:14px}}

.inline-form{display:inline;margin:0}.theme-actions{display:flex;gap:7px;align-items:center;justify-content:flex-end;flex-wrap:wrap}.theme-actions .inline-form{display:inline-flex}.theme-actions input[type=hidden]{display:none}.page-actions form{margin:0}.btn.danger:hover{filter:brightness(.94)}


/* V1.4.4 — boutons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:42px;padding:11px 16px;border:1px solid transparent;border-radius:12px;background:linear-gradient(180deg,#c7764f 0%,#ab5d39 100%);color:#fff;font-weight:700;letter-spacing:.01em;box-shadow:0 8px 18px rgba(171,93,57,.18);transition:transform .15s ease, box-shadow .15s ease, filter .15s ease, background .15s ease}.btn:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(171,93,57,.22);filter:saturate(1.03)}.btn:active{transform:translateY(0);box-shadow:0 4px 10px rgba(171,93,57,.16)}
.btn.secondary{background:linear-gradient(180deg,#fbf7f2 0%,#f1e8df 100%);border-color:#dcc9ba;color:#5d463a;box-shadow:0 6px 16px rgba(95,72,55,.08)}.btn.secondary:hover{box-shadow:0 8px 18px rgba(95,72,55,.12);background:linear-gradient(180deg,#ffffff 0%,#f4ece4 100%)}
.btn.danger{background:linear-gradient(180deg,#c45858 0%,#a63f46 100%);border-color:#9e3940;color:#fff;box-shadow:0 8px 18px rgba(166,63,70,.18)}.btn.danger:hover{box-shadow:0 10px 22px rgba(166,63,70,.24);filter:saturate(1.04)}
.btn.small{min-height:38px;padding:8px 14px;font-size:.9rem;border-radius:11px}
button.btn{font:inherit}
.theme-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex-wrap:nowrap}.theme-actions .btn{min-width:108px}.actions-cell{width:1%;white-space:nowrap}.inline-form{margin:0}.theme-actions .inline-form{display:inline-flex}
.page-actions{gap:10px}.page-actions .btn{min-width:170px}.page-actions form{display:inline-flex}
.notter-table tbody td.actions-cell{background:transparent;border:0;padding-left:10px;padding-right:0}.notter-table tbody tr:hover td.actions-cell{background:transparent}
.notter-table tbody td.actions-cell:first-child,.notter-table tbody td.actions-cell:last-child{border-radius:0;border-left:0;border-right:0}
@media(max-width:760px){.theme-actions{justify-content:flex-start;flex-wrap:wrap}.theme-actions .btn,.page-actions .btn,.page-actions form,.page-actions form .btn{min-width:0;width:100%}.actions-cell{white-space:normal}}


/* V1.4.5 — grilles d'Inclusion séparées */
.separate-grids{display:grid;gap:18px}.separate-grid-card{overflow:hidden}.grid-kicker{text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;font-weight:800;color:#9c6b55;margin-bottom:4px}.grid-type-badge{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;font-size:.78rem;font-weight:800}.grid-type-badge.base{background:#ffe8b9;color:#6b4317}.grid-type-badge.assembly{background:#eaded6;color:#5c4940}.grid-type-badge.gap{background:#e4c9bd;color:#66382d}.notter-nine-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-width:720px;margin:18px auto 0}.notter-grid-cell{position:relative;min-height:128px;border-radius:14px;padding:14px;display:flex;flex-direction:column;align-items:center;justify-content:center;border:1px solid #ead9cb;box-shadow:0 4px 14px rgba(64,36,27,.045)}.notter-grid-cell.yang{background:linear-gradient(180deg,#fff4dc 0%,#f9dfae 100%)}.notter-grid-cell.yin{background:linear-gradient(180deg,#fbeae2 0%,#efd0c2 100%)}.notter-grid-cell.assembly-cell{background:linear-gradient(180deg,#f8f3ef 0%,#e9ddd5 100%)}.notter-grid-cell.gap-cell{background:linear-gradient(180deg,#f3e6df 0%,#dfc3b7 100%)}.notter-grid-cell.zero{background:linear-gradient(180deg,#fff8dc 0%,#ffe49d 100%)}.grid-domain-number{position:absolute;top:10px;left:11px;display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;background:rgba(255,255,255,.72);color:#5b3929;font-weight:900;font-size:.92rem}.grid-cell-value{font-size:2rem;color:#70402d;line-height:1.1}.assembly-display{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:1.75rem}.notter-grid-cell small{margin-top:9px;color:#76675f;font-size:.78rem}.notter-grid-cell .sun-zero{font-size:1.15em}.base-grid-card{background:linear-gradient(180deg,#fff 0%,#fffaf1 100%)}.assembly-grid-card{background:linear-gradient(180deg,#fff 0%,#faf6f3 100%)}.gap-grid-card{background:linear-gradient(180deg,#fff 0%,#faf3ef 100%)}
@media(max-width:700px){.notter-nine-grid{grid-template-columns:repeat(3,minmax(88px,1fr));gap:7px}.notter-grid-cell{min-height:104px;padding:10px}.grid-cell-value{font-size:1.6rem}.assembly-display{font-size:1.35rem}.grid-domain-number{width:26px;height:26px;font-size:.8rem}.notter-grid-cell small{font-size:.68rem;text-align:center}}


/* V1.4.6 — formulaires et navigation allégée */
.sidebar-link{font-weight:400}.sidebar-link.active{font-weight:400}.sidebar-logout{font-weight:400}

.form-card{position:relative;overflow:hidden;padding:26px 28px 28px;background:linear-gradient(180deg,#fff 0%,#fffaf6 100%);border-color:#e8d9ce}.form-card:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:linear-gradient(180deg,#d98e51 0%,#b76442 100%)}.form-card h2{margin:0 0 8px;font-size:1.28rem}.form-card>p.muted{margin-top:0;margin-bottom:20px;line-height:1.55}

.form-card .grid{gap:18px 20px}.form-card label:not(.choice-card){margin:0;color:#5c4a41;font-size:.9rem;font-weight:500;line-height:1.35}.form-card label:not(.choice-card)+label:not(.choice-card){margin-top:0}
.form-card input:not([type=hidden]):not([type=radio]):not([type=checkbox]),.form-card select,.form-card textarea{appearance:none;width:100%;min-height:47px;margin-top:8px;padding:11px 13px;border:1px solid #d8c9be;border-radius:12px;background:#fffdfb;color:#332a26;font:inherit;box-shadow:inset 0 1px 2px rgba(71,44,31,.025);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.form-card input::placeholder,.form-card textarea::placeholder{color:#aa9c93}.form-card input:not([type=hidden]):not([type=radio]):not([type=checkbox]):hover,.form-card select:hover,.form-card textarea:hover{border-color:#c9b5a7}.form-card input:not([type=hidden]):not([type=radio]):not([type=checkbox]):focus,.form-card select:focus,.form-card textarea:focus{outline:none;border-color:#c8764e;background:#fff;box-shadow:0 0 0 4px rgba(197,112,72,.11)}
.form-card input[type=date]{color-scheme:light}.form-card input[type=file]{padding:7px 8px;background:#fff}.form-card input[type=file]::file-selector-button{margin-right:12px;padding:9px 12px;border:0;border-radius:9px;background:#f1e5da;color:#654638;font:inherit;font-weight:500;cursor:pointer}.form-card input[type=file]::file-selector-button:hover{background:#ead9cc}
.form-card .hint{margin-top:7px;color:#8a7c73;line-height:1.45}.form-card .notice{margin:20px 0;background:linear-gradient(180deg,#fff9ea 0%,#fff1d6 100%);border-color:#ead4a9}.form-card>.btn:last-child{margin-top:4px}

.choice-grid{gap:14px;margin:18px 0 20px}.choice-card{position:relative;margin:0!important;padding:17px 18px;border:1px solid #dfd1c7;border-radius:14px;background:#fff;box-shadow:0 3px 12px rgba(64,36,27,.035);transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.choice-card:hover{border-color:#cdb7a8;background:#fffaf5}.choice-card:has(input:checked){border-color:#ce7c54;background:linear-gradient(180deg,#fff8ee 0%,#fff0dd 100%);box-shadow:0 0 0 3px rgba(200,112,72,.08)}.choice-card input[type=radio],.choice-card input[type=checkbox]{width:18px;height:18px;margin:2px 2px 0 0;accent-color:#b96742;flex:0 0 auto}.choice-card strong{font-weight:600;color:#51382e}.choice-card small{margin-top:5px;color:#786a62;line-height:1.5}

.form-card .btn{margin-top:4px}.form-card .btn.secondary{box-shadow:none}.form-card .btn.secondary:hover{box-shadow:0 6px 14px rgba(95,72,55,.09)}

/* Forms that are not card forms still inherit cleaner controls without affecting inline action forms. */
main form:not(.inline-form):not(.form-card) input:not([type=hidden]):not([type=radio]):not([type=checkbox]),main form:not(.inline-form):not(.form-card) select,main form:not(.inline-form):not(.form-card) textarea{border-radius:11px;border-color:#d8c9be;background:#fffdfb}.page-actions form input[type=hidden],.theme-actions form input[type=hidden]{display:none}

@media(max-width:760px){.form-card{padding:22px 18px 24px}.form-card .grid{gap:15px}.choice-card{padding:15px}.form-card>.btn{width:100%}}


/* V1.4.7 — grilles d'Inclusion horizontales, 9 colonnes */
.horizontal-grids{display:grid;gap:18px}.horizontal-grids,.separate-grids,.separate-grid-card{min-width:0;max-width:100%}.grid-table-scroll{overflow-x:auto;padding-bottom:4px}.nine-column-grid{width:100%;min-width:940px;border-collapse:separate;border-spacing:6px;table-layout:fixed}.nine-column-grid th,.nine-column-grid td{border:0;text-align:center;padding:12px 8px;border-radius:9px}.nine-column-grid .grid-row-label{width:120px;text-align:left;background:#f1e8df;color:#604b40;font-size:.84rem;font-weight:700;padding-left:13px}.grid-table-domain{font-size:1.06rem;font-weight:800}.grid-table-domain.yang{background:linear-gradient(180deg,#f3c47d 0%,#e4a65b 100%);color:#5b350d}.grid-table-domain.yin{background:linear-gradient(180deg,#e9c5b5 0%,#d99e84 100%);color:#5d3324}.grid-table-value,.grid-table-source,.grid-table-gap{font-size:1.25rem;font-weight:800}.base-table-grid .grid-table-value{background:linear-gradient(180deg,#fff8e9 0%,#ffedc7 100%);color:#6e3d25;border:1px solid #efd8ae}.assembly-table-grid .grid-table-value{background:linear-gradient(180deg,#f7f2ee 0%,#e9ddd5 100%);color:#584a42}.gap-table-grid .grid-table-source{background:linear-gradient(180deg,#fff7e9 0%,#f7e8d3 100%);color:#69412d}.gap-table-grid .grid-table-gap{background:linear-gradient(180deg,#f0e3dc 0%,#dfc2b5 100%);color:#5d3125}.grid-table-value.zero,.grid-table-source.zero{background:linear-gradient(180deg,#fff8dc 0%,#ffe39a 100%)!important;color:#754b08!important}.nine-column-grid .sun-zero{font-size:1.18em}
@media(max-width:900px){.nine-column-grid{min-width:860px}}


/* V1.4.9 — grilles plates et lisibles */
.nine-column-grid{border-collapse:collapse;border-spacing:0;min-width:940px;background:transparent}
.nine-column-grid th,.nine-column-grid td{border:1px solid #e6d8cc;border-radius:0;padding:13px 9px;box-shadow:none}
.nine-column-grid .grid-row-label{background:#f1ece6;color:#5e4c43;font-weight:700;width:135px}
.nine-column-grid .grid-row.domains th,
.nine-column-grid .grid-row.domains td,
.nine-column-grid .grid-table-domain,
.nine-column-grid .grid-table-domain.yang,
.nine-column-grid .grid-table-domain.yin{background:#d8b38a;color:#4f3523;font-weight:800}
.nine-column-grid .grid-row.values td,
.nine-column-grid .grid-row.values th,
.nine-column-grid .grid-row.source-values td,
.nine-column-grid .grid-row.source-values th,
.nine-column-grid .grid-row.gaps td,
.nine-column-grid .grid-row.gaps th,
.nine-column-grid .grid-table-value,
.nine-column-grid .grid-table-source,
.nine-column-grid .grid-table-gap,
.base-table-grid .grid-table-value,
.assembly-table-grid .grid-table-value,
.gap-table-grid .grid-table-source,
.gap-table-grid .grid-table-gap{background:#f8f4ef;color:#5c463b}
.nine-column-grid .grid-table-value,.nine-column-grid .grid-table-source,.nine-column-grid .grid-table-gap{font-weight:800}
.nine-column-grid .grid-table-value.zero,
.nine-column-grid .grid-table-source.zero,
.nine-column-grid .grid-table-gap.zero,
.nine-column-grid .sun-zero{background:none!important;color:#d79a1e!important}
.nine-column-grid td.zero,
.nine-column-grid td.zero .sun-zero,
.nine-column-grid th.zero,
.case-value.zero-cell,
.how-badge.sun,
.assembly-badge.sun,
.inclusion-case-count.sun,
.status-badge.zero,
.zero-summary{background:#fff1bf!important;color:#7a560d!important;border-color:#ebd37a!important}
.separate-grid-card,.base-grid-card,.assembly-grid-card,.gap-grid-card{background:#fff;box-shadow:0 4px 14px rgba(64,36,27,.04)}
.grid-type-badge.base{background:#efe3d2;color:#604a3c}
.grid-type-badge.assembly{background:#efe3d2;color:#604a3c}
.grid-type-badge.gap{background:#efe3d2;color:#604a3c}
.qual-note{background:#f7f1ea;color:#5f4d40;border-left:4px solid #d8b38a}


/* V1.4.10 — lignes plus pep’s et différenciées */
.nine-column-grid .grid-row.domains th,
.nine-column-grid .grid-row.domains td,
.nine-column-grid .grid-table-domain,
.nine-column-grid .grid-table-domain.yang,
.nine-column-grid .grid-table-domain.yin{background:#e2a14a;color:#4d2f12}
.nine-column-grid .grid-row.domains .grid-row-label{background:#cf8a2e!important;color:#fff7ed}

.nine-column-grid .grid-row.values th,
.nine-column-grid .grid-row.values td{background:#f7dac8;color:#62392a}
.nine-column-grid .grid-row.values .grid-row-label{background:#df9f79!important;color:#4f2415}

.nine-column-grid .grid-row.source-values th,
.nine-column-grid .grid-row.source-values td{background:#f6e7bf;color:#5e4620}
.nine-column-grid .grid-row.source-values .grid-row-label{background:#e4c15c!important;color:#4f3b13}

.nine-column-grid .grid-row.gaps th,
.nine-column-grid .grid-row.gaps td{background:#ddd4ef;color:#4c4163}
.nine-column-grid .grid-row.gaps .grid-row-label{background:#b9a9df!important;color:#33284f}

.base-table-grid .grid-table-value,
.assembly-table-grid .grid-table-value,
.gap-table-grid .grid-table-source,
.gap-table-grid .grid-table-gap{font-weight:800}

.nine-column-grid td.zero,
.nine-column-grid th.zero,
.nine-column-grid .grid-table-value.zero,
.nine-column-grid .grid-table-source.zero,
.case-value.zero-cell,
.how-badge.sun,
.assembly-badge.sun,
.inclusion-case-count.sun,
.status-badge.zero,
.zero-summary{background:#ffe28a!important;color:#6f4a05!important;border-color:#e7c45e!important}

.nine-column-grid td.zero .sun-zero,
.nine-column-grid th.zero .sun-zero,
.nine-column-grid .sun-zero{color:#b87700!important;font-weight:800}


/* V1.4.12 — harmonisation case soleil / fond du soleil */
:root{--sun-bg:#ffe28a;--sun-border:#e7c45e;--sun-fg:#b87700}
.sun-zero{display:inline-flex;align-items:center;justify-content:center;min-width:1.45em;height:1.45em;padding:0 .12em;border-radius:999px;background:var(--sun-bg)!important;color:var(--sun-fg)!important;border:1px solid var(--sun-border);font-weight:800;line-height:1}
.nine-column-grid td.zero,
.nine-column-grid th.zero,
.nine-column-grid .grid-table-value.zero,
.nine-column-grid .grid-table-source.zero,
.case-value.zero-cell,
.how-badge.sun,
.assembly-badge.sun,
.inclusion-case-count.sun,
.status-badge.zero,
.zero-summary{background:var(--sun-bg)!important;color:#6f4a05!important;border-color:var(--sun-border)!important}
.nine-column-grid td.zero .sun-zero,
.nine-column-grid th.zero .sun-zero,
.nine-column-grid .sun-zero,
.assembly-badge.sun .sun-zero,
.how-badge.sun .sun-zero{background:var(--sun-bg)!important;color:var(--sun-fg)!important;border-color:var(--sun-border)!important}


/* V1.4.13 — soleil directement sur la cellule jaune */
.nine-column-grid td.zero,
.nine-column-grid th.zero,
.nine-column-grid .grid-table-value.zero,
.nine-column-grid .grid-table-source.zero{background:#ffe28a!important;color:#6f4a05!important;border-color:#e7c45e!important}
.nine-column-grid td.zero .sun-zero,
.nine-column-grid th.zero .sun-zero,
.nine-column-grid .sun-zero{display:inline!important;min-width:0!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b87700!important;line-height:1!important;box-shadow:none!important}


/* V1.5.0 — Inclusions dérivées Père / Mère */
.grid-type-badge.derived{background:#d9ebe2;color:#315b49}
.nine-column-grid .grid-row.derived-values th,
.nine-column-grid .grid-row.derived-values td{background:#d8eadf;color:#315344}
.nine-column-grid .grid-row.derived-values .grid-row-label{background:#9dcbb5!important;color:#244a39}
.grid-table-derived{font-size:1.25rem;font-weight:800}
.grid-table-derived.wrapped{font-weight:700}
.derived-less-significant{display:inline-block;font-weight:700}
.nine-column-grid .grid-table-derived.zero{background:var(--sun-bg)!important;color:#6f4a05!important;border-color:var(--sun-border)!important}
.nine-column-grid .grid-table-derived.zero .sun-zero{background:transparent!important;border:0!important;color:var(--sun-fg)!important;min-width:0;height:auto;padding:0;border-radius:0}
.derived-father-grid-card,.derived-mother-grid-card{background:#fff}


/* V1.6.0 — Inclusion valorisée / Inclusion humaniste */
.grid-type-badge.valued{background:#cfe7f1;color:#245267}
.grid-type-badge.humanist{background:#cde8da;color:#24523a}
.nine-column-grid .grid-row.valued-values th,
.nine-column-grid .grid-row.valued-values td{background:#cfe6f1;color:#284d60}
.nine-column-grid .grid-row.valued-values .grid-row-label{background:#86bfd7!important;color:#163f52}
.nine-column-grid .grid-row.humanist-values th,
.nine-column-grid .grid-row.humanist-values td{background:#cde8d9;color:#294f3a}
.nine-column-grid .grid-row.humanist-values .grid-row-label{background:#83c5a2!important;color:#173f2a}
.grid-table-valued,.grid-table-humanist{font-size:1.25rem;font-weight:800}
.nine-column-grid .grid-table-valued.zero,
.nine-column-grid .grid-table-humanist.zero{background:var(--sun-bg)!important;color:#6f4a05!important;border-color:var(--sun-border)!important}
.nine-column-grid .grid-table-valued.zero .sun-zero,
.nine-column-grid .grid-table-humanist.zero .sun-zero{background:transparent!important;border:0!important;color:var(--sun-fg)!important;min-width:0;height:auto;padding:0;border-radius:0}
.valued-grid-card,.humanist-grid-card{background:#fff}


/* V1.7.0 — repères pour la Roue de base */
.wheel-marker-card{border-top:4px solid #d9a653}
.wheel-marker-card:nth-child(2){border-top-color:#8ab8aa}
.wheel-marker-card .result-number{font-size:2.15rem}


/* V1.8.0 — Nombre Libérateur et Croix humanistes */
.liberator-card{border-top:4px solid #d6a451}
.liberator-summary{display:grid;grid-template-columns:150px 1fr;gap:20px;align-items:center}
.liberator-summary .result-number{margin:0;text-align:center}
.source-variants{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}
.variant-card{display:grid;gap:6px;padding:14px;border:1px solid #e5d9cf;background:#faf7f4}
.variant-card.selected{border:2px solid #c8893d;background:#fff3dc}
.crosses-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.humanist-cross-card{overflow:hidden}
.humanist-cross{position:relative;display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto;gap:26px;align-items:center;justify-items:center;min-height:390px;padding:26px 12px}
.cross-node{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;width:150px;min-height:94px;padding:12px;border:2px solid #d7c9bd;background:#fff;box-shadow:0 8px 18px rgba(64,36,27,.07)}
.cross-node span{font-size:.78rem;color:#75645a}
.cross-node strong{font-size:1.8rem;color:#5d382b;margin-top:4px}
.cross-node small{font-size:.72rem;color:#8a7568;margin-top:3px}
.cross-node.top{grid-column:2;grid-row:1;border-radius:14px;background:#f6e6c8;border-color:#d9ad61}
.cross-node.left{grid-column:1;grid-row:2;border-radius:18px 6px 6px 18px;background:#eadbd3;border-color:#c99d87}
.cross-node.right{grid-column:3;grid-row:2;border-radius:50%;width:132px;height:132px;background:#efe2c8;border-color:#d4b06a}
.cross-node.bottom{grid-column:2;grid-row:3;clip-path:polygon(50% 0,100% 100%,0 100%);border:0;border-radius:0;background:#dce9e3;padding-top:28px;min-height:118px}
.cross-line{position:absolute;z-index:1;background:#c9b8aa}
.cross-line.horizontal{height:2px;width:72%;left:14%;top:50%}
.cross-line.vertical{width:2px;height:72%;top:14%;left:50%}
@media(max-width:980px){.crosses-grid{grid-template-columns:1fr}.source-variants{grid-template-columns:1fr}}
@media(max-width:680px){.liberator-summary{grid-template-columns:1fr}.humanist-cross{transform:scale(.9);transform-origin:top center;margin-bottom:-35px}}


/* V1.8.1 — lisibilité des Croix */
.readable-cross-card{border-top:4px solid #d6a451}
.initiatic-cross-card{border-top-color:#8ab8aa}
.cross-readable-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:8px}
.cross-value-card{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border:1px solid #e4d8cf;border-radius:14px;background:#fff;box-shadow:0 4px 10px rgba(64,36,27,.04)}
.cross-value-card.base{background:#f7ead1;border-color:#dfbb7a}
.cross-value-card.source{background:#efe7de;border-color:#d7c2b2}
.cross-value-card.process{background:#e5f0ea;border-color:#bad4c7}
.cross-value-card.target{background:#f6eee0;border-color:#decbab}
.cross-value-label{font-size:.92rem;font-weight:700;color:#6c5447}
.cross-value-result{font-size:2rem;font-weight:800;line-height:1.15;color:#4a2a1d;word-break:break-word}
.cross-value-formula{font-size:.95rem;line-height:1.45;color:#6a5549}
.cross-table-wrap{margin-top:14px;overflow:auto}
.cross-readable-table{width:100%;border-collapse:collapse;min-width:520px;background:#fff}
.cross-readable-table th,.cross-readable-table td{padding:12px 14px;border:1px solid #e6d9cf;text-align:left;vertical-align:top}
.cross-readable-table th{width:180px;background:#f3ece6;color:#55382c;font-weight:700}
.cross-readable-table td:nth-child(2){width:160px;font-weight:800;color:#4d2d20;background:#fffaf5}
.cross-readable-table td:nth-child(3){color:#69564a}
.humanist-cross{display:none}
@media(max-width:980px){.cross-readable-grid{grid-template-columns:1fr}.cross-readable-table{min-width:0}.cross-readable-table th,.cross-readable-table td{display:block;width:auto}.cross-readable-table tr{display:block;margin-bottom:10px;border:1px solid #e6d9cf}.cross-readable-table th{border-bottom:0}.cross-readable-table td{border-top:0}}


/* V1.9.0 — Croix schématiques et Roue de base */
.cross-schema{position:relative;display:grid;grid-template-columns:1fr 180px 1fr;grid-template-rows:auto 120px auto;gap:14px;align-items:center;justify-items:center;min-height:420px;margin-top:10px;margin-bottom:14px}
.cross-schema-node{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:6px;width:100%;max-width:220px;min-height:94px;padding:16px 14px;border:1px solid #decec0;border-radius:18px;background:#fff;box-shadow:0 8px 20px rgba(66,40,28,.06)}
.cross-schema-node span{font-size:.88rem;font-weight:700;color:#6c5447}
.cross-schema-node strong{font-size:1.9rem;line-height:1.1;color:#4b2a1d}
.cross-schema-node small{font-size:.82rem;line-height:1.35;color:#6d594d}
.cross-schema-node.top{grid-column:2;grid-row:1;background:#f7ead1;border-color:#dfbb7a}
.cross-schema-node.left{grid-column:1;grid-row:2;background:#e5f0ea;border-color:#bad4c7}
.cross-schema-node.right{grid-column:3;grid-row:2;background:#f6eee0;border-color:#decbab}
.cross-schema-node.bottom{grid-column:2;grid-row:3;background:#efe7de;border-color:#d7c2b2}
.cross-schema-center{position:relative;z-index:2;grid-column:2;grid-row:2;width:110px;height:110px;border-radius:50%;display:flex;align-items:center;justify-content:center;text-align:center;font-weight:800;line-height:1.2;color:#5c3828;background:#fffaf4;border:2px solid #d9c4b0;box-shadow:0 6px 16px rgba(66,40,28,.05)}
.cross-schema-line{position:absolute;z-index:1;background:#cdb9a9}
.cross-schema-line.vertical{width:3px;height:72%;left:50%;top:14%}
.cross-schema-line.horizontal{height:3px;width:72%;left:14%;top:50%}
.base-wheel-card{overflow:hidden}
.wheel-layout{display:grid;grid-template-columns:1fr;gap:18px;align-items:start}
.wheel-svg-wrap{background:linear-gradient(180deg,#fffdf9 0%,#faf4ed 100%);border:1px solid #eaded2;border-radius:24px;padding:18px;max-width:920px;width:100%;margin:0 auto}
.base-wheel-svg{width:100%;height:auto;display:block}
.wheel-legend{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.legend-card{display:flex;align-items:center;gap:12px;padding:12px 14px;border:1px solid #eaded2;border-radius:16px;background:#fffaf5}
.legend-card strong{display:block;color:#553527}
.legend-card small{display:block;color:#765f52}
.legend-swatch{display:inline-block;width:24px;height:24px;border-radius:8px;border:1px solid #ceb6a3;flex:0 0 auto}
.legend-swatch.base{background:#f4e7da}
.legend-swatch.humanist{background:#e4efe8;border-color:#a7c6b7}
.legend-swatch.intensity{background:#fff1bf;border-color:#d4a343}
.legend-swatch.posts{background:#fff;border-color:#8f6b56}
.wheel-posts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:4px;grid-column:1 / -1}
.wheel-post-item{display:grid;gap:3px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fff}
.wheel-post-item strong{font-size:1rem;color:#553527}
.wheel-post-item span{font-size:.92rem;color:#5c463a}
.wheel-post-item em{font-size:.83rem;color:#7a6458;font-style:normal}
@media(max-width:1180px){.wheel-layout{grid-template-columns:1fr}.wheel-legend{grid-template-columns:repeat(2,minmax(0,1fr))}.wheel-posts-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-column:1 / -1}}
@media(max-width:980px){.cross-schema{grid-template-columns:1fr;grid-template-rows:auto auto auto auto auto;min-height:0}.cross-schema-node.top,.cross-schema-node.left,.cross-schema-node.right,.cross-schema-node.bottom,.cross-schema-center{grid-column:auto;grid-row:auto;max-width:none;width:100%}.cross-schema-line{display:none}.wheel-legend{grid-template-columns:1fr}.wheel-posts-grid{grid-template-columns:1fr}}


/* V1.10.0 — relations internombres */
.wheel-relation-D{stroke:#6c8377;stroke-width:6;opacity:.62}.wheel-relation-D-inner{stroke:#fffdf9;stroke-width:2.2;opacity:.95}.wheel-relation-V{stroke:#7a6b62;stroke-width:3;stroke-dasharray:11 10;opacity:.82}.wheel-relation-Tc{stroke:#a95f4f;stroke-width:5;stroke-dasharray:16 5;opacity:.82}
.relations-summary-card{margin-top:18px;padding:18px;border:1px solid #eaded2;border-radius:18px;background:#fff}.relations-summary-card h3{margin-top:0}.relations-legend{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:10px 0 16px}.relations-legend span{display:inline-flex;align-items:center;gap:8px;color:#5f4b40}.relation-legend-line{width:48px;height:0;display:inline-block}.relation-legend-line.D{border-top:5px double #6c8377}.relation-legend-line.V{border-top:3px dashed #7a6b62}.relation-legend-line.Tc{border-top:5px dashed #a95f4f}.relations-table{width:100%;border-collapse:collapse}.relations-table th,.relations-table td{padding:10px 12px;border:1px solid #e5d8cd;text-align:left;vertical-align:top}.relations-table th{background:#f3ece6;color:#583a2d}.relation-code{display:inline-flex;align-items:center;justify-content:center;min-width:36px;padding:4px 8px;border-radius:999px;font-weight:800}.relation-code.D{background:#e1ece6;color:#355344}.relation-code.V{background:#eee8e3;color:#5b4c44}.relation-code.Tc{background:#f3dfda;color:#7a3c31}


/* V1.10.1 — Roue de base en une colonne */
.base-wheel-card .muted{max-width:980px}
.legend-card{min-height:74px}


/* V1.10.2 — zoom popup centre de la roue */
.wheel-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:8px 0 16px}
.wheel-modal[hidden]{display:none !important}
.wheel-modal{position:fixed;inset:0;z-index:9999;display:block}
.wheel-modal-backdrop{position:absolute;inset:0;background:rgba(48,31,22,.58);backdrop-filter:blur(2px)}
.wheel-modal-panel{position:relative;max-width:980px;width:min(94vw,980px);max-height:90vh;overflow:auto;margin:4vh auto;background:#fffdf9;border:1px solid #ddcfc1;border-radius:24px;box-shadow:0 18px 60px rgba(34,22,16,.28);padding:22px}
.wheel-modal-head{padding-right:44px}
.wheel-modal-head h3{margin:0 0 6px;color:#4d2d20}
.wheel-modal-close{position:absolute;top:14px;right:14px;width:38px;height:38px;border:0;border-radius:999px;background:#6f4833;color:#fff;font-size:1.8rem;line-height:1;cursor:pointer}
.wheel-modal-close:hover{filter:brightness(1.05)}
.wheel-modal-body{margin-top:12px}
.wheel-center-zoom-svg{display:block;width:100%;height:auto;background:linear-gradient(180deg,#fffdf9 0%,#faf4ed 100%);border:1px solid #eaded2;border-radius:20px;padding:14px}
body.modal-open{overflow:hidden}
@media(max-width:760px){.wheel-modal-panel{padding:16px;width:min(96vw,980px)}.wheel-modal-close{top:10px;right:10px}}


/* V1.10.3 — zoom redessiné sans chevauchements */
.wheel-center-zoom-svg{display:block;width:100%;height:auto;background:linear-gradient(180deg,#fffdf9 0%,#faf4ed 100%);border:1px solid #eaded2;border-radius:20px;padding:14px}
.wheel-zoom-callout{stroke:#bca797;stroke-width:2.4;stroke-linecap:round;opacity:.95}
.wheel-zoom-note{margin-top:12px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5;color:#6c564a;line-height:1.45}
.wheel-modal-panel{max-width:1100px;width:min(96vw,1100px)}


/* V1.10.4 — redessin dédié du zoom */
.wheel-modal-panel{max-width:1180px;width:min(97vw,1180px)}
.wheel-center-zoom-svg{padding:8px;background:#fffdf9}


/* V1.10.5 — impression des roues */
.wheel-printable{display:block}
.wheel-print-note{margin-top:12px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5;color:#6c564a;line-height:1.45}
.wheel-modal-head-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;flex-wrap:wrap}
.wheel-modal-head-row h3{margin:0 0 6px}
@media(max-width:760px){.wheel-toolbar{align-items:stretch}.wheel-toolbar .btn{width:100%}.wheel-modal-head-row .btn{width:100%}}


/* V1.11.0 — Roue avec grands transits */
.grand-transits-card{overflow:hidden}
.grand-transits-svg-wrap{max-width:980px}
.grand-transits-svg{display:block;width:100%;height:auto}
.grand-transits-legend{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:16px 0}
.grand-transits-legend>span{display:inline-flex;align-items:center;gap:8px;color:#5f4b40}
.transit-swatch{display:inline-block;width:26px;height:22px;border-radius:8px;border:2px solid transparent}
.transit-swatch.cycle{background:#dcebf2;border-color:#7faebe}
.transit-swatch.realization{background:#f6e5c9;border-color:#c69b59}
.grand-transits-table td:first-child{min-width:190px}
@media(max-width:760px){.grand-transits-legend{display:grid;grid-template-columns:1fr}.grand-transits-table{min-width:760px}}


/* V1.12.0 — Temporalité annuelle */
.annual-temporality-card{overflow:hidden}
.annual-study-form{display:flex;gap:12px;align-items:end;flex-wrap:wrap;padding:14px;border:1px solid #eaded2;border-radius:16px;background:#fffaf5;margin-bottom:16px}
.annual-study-form label{display:grid;gap:6px;min-width:170px}.annual-study-form label span{font-size:.82rem;color:#6f5a4e}.annual-study-form input{min-height:42px}
.annual-summary-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:14px 0}
.annual-summary-card{display:grid;gap:6px;padding:14px;border:1px solid #e4d8cf;border-radius:16px;background:#fff}.annual-summary-card span{font-size:.82rem;color:#725d51}.annual-summary-card strong{font-size:1.35rem;color:#4c2e22}.annual-summary-card small{color:#7b675b;line-height:1.35}.annual-summary-card.personal{background:#f8e7c9;border-color:#dfbc7b}.annual-summary-card.current{background:#e4efe8;border-color:#b7d0c3}.annual-summary-card.life{background:#eee7f6;border-color:#cdbfe1}
.annual-relations-strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0}.annual-relations-strip>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fff}.annual-relations-strip span{color:#6c574b}.annual-relations-strip strong{display:flex;align-items:center;gap:8px}
.annual-two-columns{display:grid;grid-template-columns:1.25fr .9fr;gap:18px;align-items:start}.annual-block{padding:16px;border:1px solid #eaded2;border-radius:18px;background:#fff}.annual-block h3{margin:0}
.annual-cycle-cards,.annual-realization-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:12px 0 16px}.annual-realization-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-period-card{padding:12px;border:1px solid #e5d9cf;border-radius:14px;background:#fbf8f5}.annual-period-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.annual-period-card span{font-weight:700;color:#6e594d}.annual-period-card strong{font-size:1.45rem;color:#4e2f22}.annual-period-card p{margin:8px 0;font-size:.88rem;color:#675347}.annual-period-card small{display:block;color:#806b5f;line-height:1.35}.annual-period-card.active{background:#fff1bf;border:2px solid #d5aa4e;box-shadow:0 5px 14px rgba(118,80,24,.08)}.annual-period-card.realization{background:#edf4f0}.annual-period-card.realization.active{background:#fff1bf}
.annual-period-table{width:100%;border-collapse:collapse;min-width:680px}.annual-period-table th,.annual-period-table td{padding:10px 12px;border:1px solid #e6d9cf;text-align:left}.annual-period-table th{background:#f1e7de;color:#593a2d}.annual-period-table .active-row td{background:#fff3cc}
@media(max-width:1180px){.annual-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.annual-two-columns{grid-template-columns:1fr}}
@media(max-width:760px){.annual-summary-grid,.annual-relations-strip,.annual-cycle-cards,.annual-realization-grid{grid-template-columns:1fr}.annual-study-form{align-items:stretch}.annual-study-form label,.annual-study-form .btn{width:100%}}


/* V1.13.0 — tableau des 12 mois */
.annual-months-card{overflow:hidden}
.annual-months-printable{display:block}
.annual-months-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1180px}
.annual-months-table th,.annual-months-table td{border:1px solid #e3d6ca;padding:10px 6px;text-align:center;vertical-align:middle}
.annual-months-table .row-label{width:150px;text-align:left;font-weight:700}
.annual-months-table thead th{background:#dfa04d;color:#4b2d18;font-weight:700}
.annual-months-table thead th.selected-month{background:#f1bd6e;box-shadow:inset 0 -4px 0 #9b6834}
.annual-months-table .row-cycle th,.annual-months-table .row-cycle td{background:#dcebf2;color:#315263}
.annual-months-table .row-personal th,.annual-months-table .row-personal td{background:#f5dfcc;color:#61402e}
.annual-months-table .row-essence th,.annual-months-table .row-essence td{background:#dcebdc;color:#31543e}
.annual-months-table td strong{display:block;font-size:1.18rem;line-height:1.15}
.annual-months-table td small{display:block;margin-top:4px;font-size:.68rem;line-height:1.25;color:#766458}
.annual-months-table .split-month{background-image:linear-gradient(135deg,transparent 49.4%,rgba(111,72,51,.22) 50%,transparent 50.6%)}
.annual-months-note{margin-top:12px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5;color:#6b574c;line-height:1.45}
@media(max-width:760px){.annual-months-card .section-title{align-items:flex-start;gap:10px}.annual-months-card .section-title .btn{width:100%}}


/* V1.14.0 — graphique annuel de synthèse */
.annual-synthesis-card{overflow:hidden}
.annual-synthesis-printable{display:block}
.annual-synthesis-table,.annual-relations-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:1180px}
.annual-synthesis-table th,.annual-synthesis-table td,.annual-relations-table th,.annual-relations-table td{border:1px solid #dfd2c7;padding:9px 5px;text-align:center;vertical-align:middle}
.annual-synthesis-table .row-label,.annual-relations-table .row-label{width:176px;text-align:left;font-weight:700}
.annual-synthesis-table thead th,.annual-relations-table thead th{background:#d9923d;color:#fff7ed;font-weight:700}
.annual-synthesis-table td strong,.annual-relations-table td strong{display:block;font-size:1.05rem;line-height:1.15}
.annual-synthesis-table td small{display:block;margin-top:3px;font-size:.67rem;color:#715e52;line-height:1.25}
.annual-synthesis-table .row-universal th,.annual-synthesis-table .row-universal td{background:#f4d49a;color:#593b21}
.annual-synthesis-table .row-personal-year th,.annual-synthesis-table .row-personal-year td{background:#ebc6a5;color:#5a3928}
.annual-synthesis-table .row-cycle th,.annual-synthesis-table .row-cycle td{background:#d7e9f1;color:#315263}
.annual-synthesis-table .row-realization th,.annual-synthesis-table .row-realization td{background:#e6def2;color:#4f4262}
.annual-synthesis-table .row-personal th,.annual-synthesis-table .row-personal td{background:#f4ddca;color:#61402e}
.annual-synthesis-table .row-essence th,.annual-synthesis-table .row-essence td{background:#d9eadc;color:#31543e}
.annual-synthesis-table .row-magi th,.annual-synthesis-table .row-magi td{background:#eee4d6;color:#564335}
.annual-synthesis-table .split-month,.annual-relations-table .split-month{background-image:linear-gradient(135deg,transparent 49.4%,rgba(95,69,53,.22) 50%,transparent 50.6%)}
.annual-synthesis-note,.annual-source-warning{margin-top:12px;padding:11px 13px;border:1px solid #eaded2;border-radius:12px;background:#fffaf5;color:#665247;line-height:1.45}
.annual-source-warning{background:#fff4df;border-color:#e8ca91}
.annual-rel-title{margin:20px 0 4px;color:#4e3023}
.annual-rel-subtitle{margin:0 0 12px;color:#725f54;font-size:.9rem;line-height:1.45}
.annual-relations-table .rel-cycle th,.annual-relations-table .rel-cycle td{background:#e4eff4;color:#335666}
.annual-relations-table .rel-realization th,.annual-relations-table .rel-realization td{background:#eee8f6;color:#514663}
.annual-relations-table .rel-personal th,.annual-relations-table .rel-personal td{background:#f8e8da;color:#62402e}
.annual-relations-table .rel-essence th,.annual-relations-table .rel-essence td{background:#e4f0e6;color:#31543e}
.annual-relations-table .rel-magi th,.annual-relations-table .rel-magi td{background:#f1e8dc;color:#594638}
@media(max-width:760px){.annual-synthesis-card .section-title{align-items:flex-start;gap:10px}.annual-synthesis-card .section-title .btn{width:100%}}


/* V1.15.0 — cycles de la périodicité */
.annual-summary-card.periodicity{background:#e7f0f6;border-color:#bfd3df}
.periodicity-card{overflow:hidden}.periodicity-printable{display:block}
.periodicity-table{width:100%;border-collapse:collapse;table-layout:fixed;min-width:980px}
.periodicity-table th,.periodicity-table td{border:1px solid #dfd3c8;padding:11px 8px;text-align:center;vertical-align:middle}
.periodicity-table .row-label{width:150px;text-align:left;font-weight:700}.periodicity-table thead th{background:#73a5bd;color:#fff;font-weight:700}
.periodicity-table .row-periodicity-value th,.periodicity-table .row-periodicity-value td{background:#dcebf2;color:#315263}
.periodicity-table .row-periodicity-dates th,.periodicity-table .row-periodicity-dates td{background:#f8f3ed;color:#5e493e}
.periodicity-table .row-periodicity-duration th,.periodicity-table .row-periodicity-duration td{background:#edf3ee;color:#3f5a49}
.periodicity-table td strong{font-size:1.35rem}.periodicity-table td span{color:#7b685d;font-size:.84rem}
.periodicity-source-gap,.periodicity-note{margin-top:12px;padding:12px 14px;border:1px solid #e4c88f;border-radius:14px;background:#fff4df;color:#69513d;line-height:1.45}
.periodicity-card h4{margin:20px 0 10px;color:#4f3023}.periodicity-gap-row td{background:#fff4df!important;color:#765637}
@media(max-width:760px){.periodicity-card .section-title{align-items:flex-start;gap:10px}.periodicity-card .section-title .btn{width:100%}}


/* V1.16.0 — temporalité mensuelle détaillée */
.monthly-detail-card{border-top:4px solid #6fa69b}
.monthly-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0 18px}
.monthly-summary-card{display:grid;gap:5px;padding:14px 16px;border:1px solid #e5d8ce;border-radius:15px;background:#fffaf5}
.monthly-summary-card span{font-size:.8rem;color:#756056}.monthly-summary-card strong{font-size:1.3rem;color:#4d2e21}.monthly-summary-card small{color:#79675d;line-height:1.35}
.monthly-summary-card.personal{background:#f6e8d8}.monthly-summary-card.universal{background:#e9edf5}.monthly-summary-card.active{background:#e5f0ea}
.monthly-two-columns{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}
.monthly-block{border:1px solid #eaded3;border-radius:18px;padding:16px;background:#fff}
.monthly-period-grid{display:grid;gap:10px;margin:12px 0}.monthly-period-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.monthly-period-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.monthly-period-card{display:grid;gap:7px;padding:13px;border:1px solid #e2d6cc;border-radius:14px;background:#faf7f4}.monthly-period-card>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.monthly-period-card span{font-weight:700;color:#6b5144}.monthly-period-card strong{font-size:1.4rem;color:#4b2d20}.monthly-period-card p{margin:0;color:#6b5a50;font-size:.88rem}.monthly-period-card small{color:#7d6d63}.monthly-period-card.active{border:2px solid #6fa69b;background:#eef7f3}.monthly-period-card.realization.active{border-color:#c89855;background:#fff4df}.monthly-period-card.unresolved{border-style:dashed;background:#fbf2f0}
.monthly-period-table{width:100%;border-collapse:collapse}.monthly-period-table th,.monthly-period-table td{padding:10px 12px;border:1px solid #eadfd6;text-align:left}.monthly-period-table th{background:#f4ece6}.monthly-period-table .active-row td{background:#eef7f3}
.monthly-issues{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding:12px;border:1px dashed #d6a58e;border-radius:12px;background:#fff7f2}.monthly-issues strong{width:100%;color:#714433}.monthly-issues span{padding:6px 9px;border-radius:999px;background:#fff;color:#745649;border:1px solid #ead4c7;font-size:.85rem}
.monthly-source-note{margin-top:14px}.notice.subtle{background:#f8f5f1}
@media(max-width:1100px){.monthly-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.monthly-two-columns{grid-template-columns:1fr}}
@media(max-width:700px){.monthly-summary-grid,.monthly-period-grid.three,.monthly-period-grid.four{grid-template-columns:1fr}}


/* V1.17.0 — temporalité quotidienne */
.table-subline{display:block;margin-top:3px;font-size:.8rem;color:#7a675b}
.daily-time-controls{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:10px 0 16px}
.birth-time-form{display:flex;gap:10px;align-items:end;flex-wrap:wrap;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5}
.birth-time-form label{display:grid;gap:5px;min-width:180px}.saved-inline{color:#416b58;font-weight:600}
.daily-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:14px 0}
.daily-summary-card{display:grid;gap:6px;padding:14px;border:1px solid #e4d8cf;border-radius:16px;background:#fff}
.daily-summary-card.personal{background:#f5dfcc;border-color:#e2b990}.daily-summary-card.universal{background:#f4d49a;border-color:#dcb66d}.daily-summary-card.active{background:#e4efe8;border-color:#b7d0c3}
.daily-summary-card span{font-size:.84rem;color:#6e5a4d}.daily-summary-card strong{font-size:1.35rem;color:#4d3023}.daily-summary-card small{font-size:.78rem;line-height:1.35;color:#765f52}
.daily-two-columns{display:grid;grid-template-columns:1.05fr .95fr;gap:18px;align-items:start}
.daily-block{padding:16px;border:1px solid #eaded2;border-radius:18px;background:#fff}
.daily-period-grid{display:grid;gap:10px;margin:12px 0 16px}.daily-period-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-period-grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}
.daily-period-card{padding:12px;border:1px solid #e5d9cf;border-radius:14px;background:#f8fbfd}.daily-period-card.realization{background:#f2edf7}.daily-period-card.active{background:#fff1bf;border:2px solid #d5aa4e}.daily-period-card.unresolved{background:#fff4df}
.daily-period-card>div{display:flex;justify-content:space-between;gap:10px;align-items:center}.daily-period-card strong{font-size:1.3rem}.daily-period-card p{margin:8px 0;font-size:.85rem;line-height:1.35}.daily-period-card small{color:#715e52}
.daily-period-table{width:100%;border-collapse:collapse;min-width:560px}.daily-period-table th,.daily-period-table td{padding:10px 12px;border:1px solid #e6d9cf;text-align:left}.daily-period-table th{background:#dcebf2;color:#365765}.daily-period-table .active-row td{background:#fff3cc}
.daily-source-note,.daily-calculation-note{margin-top:10px;padding:10px 12px;border:1px solid #e4c88f;border-radius:12px;background:#fff4df;color:#6a5141;line-height:1.4}.daily-calculation-note{background:#f5f0e9;border-color:#dfd0c2}
.daily-relations-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1180px){.daily-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.daily-two-columns{grid-template-columns:1fr}}
@media(max-width:760px){.daily-summary-grid,.daily-period-grid.three,.daily-period-grid.four,.daily-relations-strip{grid-template-columns:1fr}.birth-time-form{align-items:stretch}.birth-time-form label,.birth-time-form .btn{width:100%}}


/* V1.17.1 — modification des éléments d’un thème */
.theme-edit-modal[hidden]{display:none!important}.theme-edit-modal{position:fixed;inset:0;z-index:10050}.theme-edit-backdrop{position:absolute;inset:0;background:rgba(48,31,22,.58);backdrop-filter:blur(2px)}.theme-edit-panel{position:relative;width:min(900px,94vw);max-height:92vh;overflow:auto;margin:4vh auto;padding:24px;background:#fffdf9;border:1px solid #ddcfc1;border-radius:24px;box-shadow:0 22px 70px rgba(34,22,16,.28)}.theme-edit-close{position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:999px;background:#6f4833;color:#fff;font-size:1.7rem;cursor:pointer}.theme-edit-head{padding-right:48px;margin-bottom:16px}.theme-edit-head h2{margin:4px 0 6px}.theme-edit-form{display:grid;gap:16px}.theme-edit-form label{display:grid;gap:7px}.theme-edit-form label>span{font-size:.9rem;color:#5b4034}.theme-edit-form input{width:100%;padding:12px 13px;border:1px solid #d8c9bd;border-radius:12px;background:#fff;color:#3f2a22;font:inherit;box-shadow:none}.theme-edit-form input:focus{outline:2px solid rgba(213,153,70,.25);border-color:#c98f45}.theme-edit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.theme-edit-form small{font-size:.78rem;color:#826e62}.theme-edit-note{padding:12px 14px;border:1px solid #ead6b1;border-radius:14px;background:#fff5df;color:#684c38;line-height:1.45}.theme-edit-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}@media(max-width:720px){.theme-edit-grid{grid-template-columns:1fr}.theme-edit-panel{padding:18px}.theme-edit-actions .btn{width:100%}}


/* V1.17.2 — sécurité du défilement après modification */
body:not(.modal-open){overflow-y:auto!important}
.theme-edit-modal[hidden],.wheel-modal[hidden]{display:none!important}



/* V1.18.0 — Plans de l’expression / grille des lettres */
.letter-grid-card{overflow:hidden}.letter-grid-printable{display:block}.letter-expression-grid{width:100%;border-collapse:collapse;table-layout:fixed;min-width:820px;background:#fff}.letter-expression-grid th,.letter-expression-grid td{border:1px solid #dfd3c8;padding:12px 10px;text-align:center;vertical-align:middle}.letter-grid-corner{width:190px;background:#5d4032;color:#fff}.letter-grid-column{color:#34271f}.letter-grid-column strong,.letter-grid-column small,.letter-grid-row-label strong,.letter-grid-row-label small{display:block}.letter-grid-column small,.letter-grid-row-label small{margin-top:4px;font-size:.73rem;font-weight:500;opacity:.8}.letter-grid-column.col-creative{background:#efa94f}.letter-grid-column.col-oscillating{background:#83bdcf}.letter-grid-column.col-earth{background:#9ebc91}.letter-grid-total-head{width:86px;background:#725548;color:#fff}.letter-grid-row-label{text-align:left!important;color:#4b3328}.row-cerebral .letter-grid-row-label{background:#dcebf2}.row-physical .letter-grid-row-label{background:#f1d7c4}.row-affective .letter-grid-row-label{background:#efd2d8}.row-intuitive .letter-grid-row-label{background:#e5dcf1}.row-cerebral .letter-grid-cell{background:#f3f9fc}.row-physical .letter-grid-cell{background:#fbf1e9}.row-affective .letter-grid-cell{background:#fbf0f2}.row-intuitive .letter-grid-cell{background:#f6f1fb}.letter-grid-cell.empty{background:#faf8f6;color:#a59489}.letter-grid-count{display:block;font-size:1.55rem;line-height:1;color:#543225}.letter-grid-present{display:block;min-height:20px;margin-top:7px;font-size:.86rem;color:#624e43;word-break:break-word}.letter-grid-reference{display:block;margin-top:6px;color:#96857b;font-size:.68rem}.letter-grid-row-total{background:#f3e8de;font-size:1.35rem;color:#543225}.letter-grid-totals th{background:#6c5043;color:#fff;text-align:left}.letter-grid-totals td{background:#e8ddd4;font-size:1.25rem;color:#4d3429}.letter-grid-grand-total{background:#d9bd9e!important}.letter-grid-check{margin-top:12px;padding:11px 13px;border:1px solid #e7dbd0;background:#fffaf5;color:#665247;line-height:1.45}.letter-grid-card .section-title{align-items:center}@media(max-width:760px){.letter-grid-card .section-title{align-items:stretch}.letter-grid-card .section-title .btn{width:100%}}


/* V1.19.0 — Excursion · cycles des lettres */
.excursion-card{overflow:hidden}.excursion-printable{display:block}.excursion-stream-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0}.excursion-stream{display:grid;gap:8px;padding:14px;border:1px solid #e3d6cc;border-radius:16px;background:#fff}.excursion-stream>span{font-size:.78rem;color:#7a6458}.excursion-stream>strong{color:#4d3023}.excursion-stream.plan-physical{background:#f7e8dc}.excursion-stream.plan-affective{background:#f7e6ea}.excursion-stream.plan-mental_spiritual{background:#e9eef5}.excursion-sequence{display:flex;gap:6px;flex-wrap:wrap}.excursion-sequence>span{display:grid;gap:2px;min-width:45px;padding:6px 7px;border:1px solid rgba(99,72,58,.16);border-radius:10px;background:rgba(255,255,255,.68);text-align:center}.excursion-sequence b{font-size:1rem;color:#563528}.excursion-sequence small{font-size:.68rem;color:#7a6559}.excursion-range-form{display:flex;align-items:end;gap:10px;flex-wrap:wrap;margin:14px 0;padding:12px 14px;border:1px solid #eaded3;border-radius:14px;background:#fffaf5}.excursion-range-form label{display:grid;gap:5px}.excursion-range-form label span{font-size:.78rem;color:#735e52}.excursion-range-form input{width:120px}.excursion-table{width:100%;border-collapse:collapse;min-width:980px}.excursion-table th,.excursion-table td{padding:10px 9px;border:1px solid #e2d6cc;text-align:left;vertical-align:top}.excursion-table thead th{background:#6c4b3a;color:#fff}.excursion-table tbody tr:nth-child(even) td{background:#fbf8f5}.excursion-table td>small{display:block;margin-top:3px;color:#7a665a}.excursion-active-set{display:flex;gap:6px;flex-wrap:wrap}.excursion-active{display:inline-grid;grid-template-columns:auto auto;gap:2px 5px;align-items:center;padding:6px 8px;border:1px solid #d9c8ba;border-radius:10px;background:#fff}.excursion-active b{font-size:1.05rem;color:#553326}.excursion-active small{font-weight:700;color:#7b5c49}.excursion-active em{grid-column:1/-1;font-size:.65rem;color:#8a7568;font-style:normal;white-space:nowrap}.excursion-essence{background:#fff3cf!important}.excursion-essence strong{display:block;font-size:1.35rem;color:#5b3826}.excursion-essence small{display:block;margin-top:4px;color:#765f51}.excursion-note{margin-top:12px;padding:11px 13px;border:1px solid #eaded2;border-radius:12px;background:#fffaf5;color:#665247;line-height:1.45}.excursion-source-warning{margin-top:12px;background:#fff1dc;border-color:#e1bc82}@media(max-width:1100px){.excursion-stream-grid{grid-template-columns:1fr 1fr}}@media(max-width:760px){.excursion-stream-grid{grid-template-columns:1fr}.excursion-range-form{align-items:stretch}.excursion-range-form label,.excursion-range-form input,.excursion-range-form .btn{width:100%}}


/* V1.20.0 — Associations particulières : Couples, Trinaires, Quaternaires */
.special-associations-card{overflow:hidden}
.special-association-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}
.special-family-card{border:1px solid #e5d8cc;border-radius:18px;padding:16px;background:#fffdf9}
.special-family-card h4{margin:0 0 12px;color:#533528;font-size:1.02rem}
.special-family-card.family-couples{background:#fff4e8;border-color:#e8cda9}
.special-family-card.family-trinaires{background:#eef7f2;border-color:#bfd9cb}
.special-family-card.family-quaternaires{background:#f4eff9;border-color:#d3c2e2}
.special-family-list{display:grid;gap:10px}
.special-family-row{padding:11px;border-radius:14px;border:1px solid rgba(96,67,51,.12);background:rgba(255,255,255,.72)}
.special-family-row.complete{box-shadow:inset 0 0 0 2px rgba(181,120,55,.22)}
.family-numbers{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.number-chip{display:inline-flex;min-width:34px;height:34px;align-items:center;justify-content:center;padding:0 8px;border-radius:999px;background:#fff;border:1px solid #cdb8a7;color:#553528;font-weight:800}
.number-chip.present{background:#ffe7a8;border-color:#d79d38;box-shadow:0 0 0 2px rgba(215,157,56,.12)}
.number-chip.master-yes{border-style:double;border-width:3px}
.family-meta{display:grid;gap:3px}.family-meta strong{color:#4d3024}.family-meta span,.family-meta small{color:#6b584d}.family-meta em{font-style:normal;color:#8a5b33;font-size:.82rem;font-weight:700}
.quaternary-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.72fr);gap:18px;margin-top:18px;align-items:start}
.quaternary-circle-wrap,.induced-card{border:1px solid #e5d8cc;border-radius:18px;background:#fffdf9;padding:16px}
.quaternary-circle-wrap h4,.induced-card h4{margin:0 0 10px;color:#533528}
.quaternary-circle{display:block;width:min(100%,560px);height:auto;margin:0 auto}
.quaternary-polygon{fill:none;stroke-width:4;opacity:.66;vector-effect:non-scaling-stroke}
.quaternary-polygon.q1{stroke:#b17a58}.quaternary-polygon.q2{stroke:#5f8c78}.quaternary-polygon.q3{stroke:#7d6ca7}
.quaternary-node{fill:#fff;stroke:#b89a84;stroke-width:2}.quaternary-node.present{fill:#ffe7a8;stroke:#d79d38;stroke-width:3}
.quaternary-text{font-size:18px;font-weight:800;fill:#563426}.quaternary-text.present{fill:#4e2c1f}
.special-legend{display:flex;gap:18px;flex-wrap:wrap;justify-content:center;color:#6d594d;font-size:.86rem}.special-legend span{display:flex;gap:7px;align-items:center}.legend-dot{width:14px;height:14px;border-radius:50%;border:1px solid #b89a84;background:#fff;display:inline-block}.legend-dot.present{background:#ffe7a8;border-color:#d79d38}
.induced-list{display:grid;gap:10px}.induced-row{display:grid;grid-template-columns:48px 34px 48px 1fr;align-items:center;gap:8px;padding:10px 12px;border:1px solid #eaded3;border-radius:14px;background:#fff}.induced-row.complete{background:#fff7df;border-color:#e1bd6e}.induced-from,.induced-to{display:flex;height:38px;align-items:center;justify-content:center;border-radius:12px;background:#f4e9df;font-weight:800;color:#573426}.induced-arrow{text-align:center;font-size:1.35rem;color:#a16e4e}.induced-row small{color:#725c50}
@media(max-width:1100px){.special-association-grid{grid-template-columns:1fr}.quaternary-layout{grid-template-columns:1fr}}
@media(max-width:700px){.induced-row{grid-template-columns:42px 28px 42px}.induced-row small{grid-column:1 / -1}.special-family-card{padding:13px}}


/* V1.21.0 — Défis temporels */
.temporal-challenges-card{border-top:4px solid #b97855}.temporal-challenges-printable{display:block}.temporal-challenge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.temporal-challenge-block{overflow:hidden;border:1px solid #e1d4ca;border-radius:18px;background:#fff}.temporal-challenge-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 15px;background:#b97855;color:#fff}.temporal-challenge-head span{font-weight:700}.temporal-challenge-head strong{font-size:.9rem}.temporal-challenge-table{width:100%;border-collapse:collapse}.temporal-challenge-table th,.temporal-challenge-table td{padding:11px 13px;border-top:1px solid #eadfd7;text-align:left;vertical-align:middle}.temporal-challenge-table th{width:66%;font-weight:500;color:#5d493e}.temporal-challenge-table td{text-align:right}.temporal-challenge-table td strong{font-size:1.2rem;color:#4d2d20}.temporal-challenge-table td small{display:block;margin-top:3px;font-size:.75rem;color:#806d62}.challenge-base-row{background:#fbf7f3}.challenge-result-row{background:#eef3ef}.challenge-result-row.major{background:#ffe8b4}.challenge-result-row.major th,.challenge-result-row.major td strong{font-weight:800}.temporal-challenge-foot{display:flex;justify-content:space-between;gap:12px;padding:11px 13px;background:#f3ebe5;color:#674c3e}.temporal-challenge-foot span{font-size:.84rem}.temporal-challenge-foot strong{color:#503126}@media(max-width:1050px){.temporal-challenge-grid{grid-template-columns:1fr}}


/* V1.22.0 — Petit Bonhomme Énergétique */

.pbe-card{overflow:hidden}.pbe-layout{display:grid;grid-template-columns:minmax(360px,.8fr) minmax(520px,1.2fr);gap:22px;align-items:start}.pbe-svg-wrap{border:1px solid #eaded2;border-radius:20px;background:#fffaf5;padding:14px}.pbe-svg{display:block;width:100%;height:auto;max-height:650px}.pbe-body{fill:#fff;stroke:#a9846d;stroke-width:4}.pbe-body-line{stroke:#a9846d;stroke-width:5;stroke-linecap:round}.pbe-zone circle{fill:#fff;stroke:#b26b45;stroke-width:2.4}.pbe-zone.empty circle{fill:#faf7f3;stroke:#d8cdc4;stroke-dasharray:5 4}.pbe-house{font-size:18px;font-weight:800;fill:#5b3425}.pbe-values{font-size:12px;font-weight:700;fill:#7d4a34}.pbe-zone.empty .pbe-values{fill:#a89a91}.pbe-legend{display:flex;flex-wrap:wrap;gap:12px;margin-top:10px;font-size:12px;color:#715c51}.pbe-legend span{display:flex;align-items:center;gap:6px}.pbe-legend-dot{display:inline-block;width:11px;height:11px;border-radius:50%;border:2px solid #b26b45}.pbe-legend-dot.second{background:#f0ddd0}.pbe-table th,.pbe-table td{vertical-align:middle}.pbe-table td small{display:block;margin-top:3px;color:#806b60}.pbe-table tr.is-empty td,.pbe-table tr.is-empty th{background:#fbf8f5;color:#9a8b82}.pbe-note{margin-top:14px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5;color:#6c564a;line-height:1.45}@media(max-width:1100px){.pbe-layout{grid-template-columns:1fr}.pbe-svg-wrap{max-width:720px;margin:0 auto;width:100%}}@media(max-width:640px){.pbe-svg-wrap{padding:6px}.pbe-zone circle{r:30}.pbe-layout{display:block}.pbe-table-wrap{margin-top:14px}}



/* V1.23.0 — Axes féminin / masculin du P.B.E. */
.pbe-axes-card{overflow:hidden}.pbe-axis-summary{display:grid;grid-template-columns:1fr .8fr 1fr;gap:14px;margin:16px 0}.pbe-axis-box{border:1px solid #e4d8cf;border-radius:18px;padding:16px;background:#fff}.pbe-axis-box h4{margin:2px 0 8px;font-size:1.05rem}.axis-kicker{font-size:.76rem;text-transform:uppercase;letter-spacing:.08em}.axis-total{font-size:2rem;font-weight:800;line-height:1;color:#5a3325}.axis-detail{margin-top:8px;font-size:.85rem;color:#77645a}.pbe-axis-box.feminine{background:#f5ecee;border-color:#e3c8ce}.pbe-axis-box.masculine{background:#eaf2f4;border-color:#c8dce1}.pbe-axis-box.central{background:#fff6de;border-color:#ecdcae}.pbe-axis-layout{display:grid;grid-template-columns:minmax(360px,.85fr) minmax(520px,1.15fr);gap:20px;align-items:start}.pbe-axis-visual{border:1px solid #eaded2;border-radius:20px;background:#fffaf5;padding:12px}.pbe-axis-visual svg{display:block;width:100%;height:auto}.axis-center-line{stroke:#d8c9bc;stroke-width:2;stroke-dasharray:7 7}.axis-path{fill:none;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;opacity:.55}.axis-path.feminine{stroke:#a86778}.axis-path.masculine{stroke:#557d88}.axis-node circle{stroke-width:2.5}.axis-node.feminine circle{fill:#fff7f8;stroke:#a86778}.axis-node.masculine circle{fill:#f5fbfc;stroke:#557d88}.axis-node.central circle{fill:#fff4cf;stroke:#c59b3c}.axis-house{font-size:18px;font-weight:800;fill:#503126}.axis-qty{font-size:13px;font-weight:700;fill:#765548}.axis-label{font-size:14px;font-weight:700;fill:#65493d}.pbe-axis-table th,.pbe-axis-table td{vertical-align:middle}.pbe-axis-note{margin-top:14px;padding:12px 14px;border:1px solid #eaded2;border-radius:14px;background:#fffaf5;color:#6c564a;line-height:1.45}.pbe-axis-note span{color:#806d62}@media(max-width:1100px){.pbe-axis-layout{grid-template-columns:1fr}.pbe-axis-visual{max-width:760px;margin:0 auto;width:100%}}@media(max-width:760px){.pbe-axis-summary{grid-template-columns:1fr}.pbe-axis-visual{padding:4px}}


/* V1.24.0 — Module relationnel */
.relation-wrap{max-width:1500px}.relation-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:16px}.relation-head h1{margin-bottom:5px}.relation-picker{padding:20px}.relation-picker-grid{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:16px;align-items:end;margin-bottom:16px}.relation-picker label{margin:0}.relation-vs{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#f2dfc7;color:#6b3f2a;font-size:1.35rem;font-weight:800;margin-bottom:2px}.relation-partners{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.partner-card{border:1px solid #e7d9ce;border-radius:18px;padding:18px;background:#fff}.partner-card>span{display:inline-block;font-size:.76rem;text-transform:uppercase;letter-spacing:.08em;font-weight:700;color:#8a6552}.partner-card h2{margin:5px 0 2px}.partner-card p{margin:0 0 5px}.partner-card small{display:block;color:#826b5d;margin-bottom:8px}.partner-a{border-top:5px solid #d78845}.partner-b{border-top:5px solid #6e9f95}.relation-section{margin-top:18px}.relation-posts-table small{display:block;margin-top:4px}.rel-number{font-size:1.45rem;font-weight:800;color:#6f3d29}.rel-style{display:inline-flex;align-items:center;justify-content:center;padding:5px 9px;border-radius:999px;font-size:.78rem;font-weight:700;line-height:1.15;background:#eee8e3;color:#654e43}.rel-style.identical{background:#dcebdc;color:#31573b}.rel-style.symmetric{background:#e2e0f2;color:#4e4678}.rel-style.inverse{background:#f5dfd7;color:#7e4537}.rel-style.trinary{background:#dce9f2;color:#35596d}.rel-style.same_yang{background:#f7dfc4;color:#754721}.rel-style.same_yin{background:#e1edf0;color:#345a62}.rel-style.none{background:#f2efec;color:#7a6d66}.relation-inclusion-grid{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed}.relation-inclusion-grid th,.relation-inclusion-grid td{border:1px solid #fff;padding:12px 8px;text-align:center;vertical-align:middle}.relation-inclusion-grid thead th{background:#e5a13f;color:#4d2e1f;font-size:1.05rem}.relation-inclusion-grid .row-head{width:160px;text-align:left;padding-left:14px}.relation-inclusion-grid .partner-row.a th,.relation-inclusion-grid .partner-row.a td{background:#f1c997}.relation-inclusion-grid .partner-row.b th,.relation-inclusion-grid .partner-row.b td{background:#bcded7}.relation-inclusion-grid .partner-row td{font-size:1.25rem;font-weight:800}.relation-inclusion-grid .style-row th,.relation-inclusion-grid .style-row td{background:#e3dcf0}.relation-inclusion-grid .style-row .rel-style{white-space:normal;border-radius:8px}.relation-inclusion-grid td.sun-cell{background:#ffd96a!important}.rel-sun{display:inline-flex;align-items:center;justify-content:center;min-width:28px;height:28px;border-radius:7px;background:#ffd96a;color:#8c6412;font-size:1.25rem;font-weight:900}.relation-inclusion-grid td.priority-cell{box-shadow:inset 0 0 0 3px rgba(94,55,37,.24)}.relation-inclusion-grid td.exact-match{box-shadow:inset 0 -5px 0 #6f9d76}.relation-summary-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:12px}.relation-summary-strip>div{padding:12px 14px;border:1px solid #eaded3;border-radius:12px;background:#fffaf5}.relation-summary-strip span,.relation-summary-strip strong{display:block}.relation-summary-strip span{font-size:.78rem;color:#826b5d;margin-bottom:4px}.relation-cases-table .priority-row td{background:#fff7ea}.relation-method-note{margin-top:18px}.relation-code+small{margin-left:6px;display:inline!important}.relation-posts-table .relation-code,.relation-cases-table .relation-code{vertical-align:middle}
@media(max-width:900px){.relation-picker-grid{grid-template-columns:1fr}.relation-vs{margin:0 auto;transform:rotate(90deg)}.relation-partners{grid-template-columns:1fr}.relation-summary-strip{grid-template-columns:1fr}}
@media print{body.relation-page{padding:0!important;background:#fff!important}.relation-page .app-sidebar,.relation-page .no-print{display:none!important}.relation-page .wrap{max-width:none!important;width:100%!important;padding:0!important}.relation-page .card,.relation-page .partner-card{box-shadow:none!important;break-inside:avoid}.relation-page .relation-section{break-inside:avoid}.relation-page .relation-inclusion-grid{min-width:0!important;font-size:9px}.relation-page .relation-inclusion-grid th,.relation-page .relation-inclusion-grid td{padding:7px 3px}.relation-page .rel-style{font-size:7px;padding:3px 4px}.relation-page .notter-table{font-size:9px}.relation-page .relation-head{margin-bottom:8px}@page{size:A4 landscape;margin:9mm}}


/* V1.25.0 — Pyramide de l’Expression */
.expression-pyramid-card{overflow:hidden}.expression-pyramid-intro{margin:0 0 14px;color:#6f594d}.expression-pyramid-svg-wrap{max-width:940px;margin:0 auto;padding:16px;border:1px solid #eaded2;border-radius:22px;background:linear-gradient(180deg,#fffdf9 0%,#faf4ed 100%)}.expression-pyramid-svg{display:block;width:100%;height:auto}.pyramid-legend{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 0}.pyramid-legend-item{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #e5d8cd;border-radius:999px;background:#fff}.pyramid-legend-sample{width:32px;height:0;border-top:4px solid}.pyramid-legend-sample.D{border-color:#4f866f}.pyramid-legend-sample.V{border-color:#7b6b63;border-top-style:dashed}.pyramid-legend-sample.Tc{border-color:#c66350;border-top-style:dashed}.pyramid-rel-table td:nth-child(2),.pyramid-rel-table td:nth-child(3){min-width:220px}.pyramid-rel-stack{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.pyramid-rel-direction{display:inline-flex;align-items:center;gap:5px}.pyramid-source-note{margin-top:12px;padding:12px 14px;border-left:4px solid #d8a35e;border-radius:12px;background:#fff7e8;color:#684d3d;line-height:1.45}.pyramid-axis-badge{display:inline-flex;padding:3px 7px;border-radius:999px;background:#eee7e1;color:#69554b;font-size:.76rem}.pyramid-axis-badge.diagonal{background:#e9f1ed;color:#456555}@media(max-width:760px){.expression-pyramid-svg-wrap{padding:8px}.pyramid-rel-table td:nth-child(2),.pyramid-rel-table td:nth-child(3){min-width:170px}}


/* V1.26.0 — Grille complète des relations internombres */
.relation-grid-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px;flex-wrap:wrap}
.relation-grid-head h1{margin:.2rem 0 .35rem}
.relation-grid-card{overflow:hidden}
.relation-grid-legend{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:16px}
.relation-grid-legend>span{display:inline-flex;align-items:center;gap:7px;padding:8px 11px;border:1px solid #eadfd5;border-radius:999px;background:#fffdfb;font-size:.88rem}
.relgrid-dot{width:13px;height:13px;border-radius:4px;display:inline-block;border:1px solid rgba(78,50,35,.18)}
.relgrid-dot.D{background:#cce8d8}.relgrid-dot.V{background:#e0d8ef}.relgrid-dot.Tc{background:#f2c9b8}.relgrid-dot.diagonal{background:#ffe39b;border:2px solid #c58c28}
.relation-matrix-scroll{overflow:auto;padding-bottom:5px}
.relation-matrix{border-collapse:separate;border-spacing:2px;min-width:900px;width:100%;table-layout:fixed}
.relation-matrix th,.relation-matrix td{text-align:center;height:54px;border:0;border-radius:7px}
.relation-matrix thead th,.relation-matrix tbody th{background:#a95f3d;color:#fff9f4;font-weight:700}
.relation-matrix thead th{height:62px}.relation-matrix tbody th{width:70px}
.relation-matrix .corner{width:108px;line-height:1.1}.relation-matrix .corner span,.relation-matrix .corner small{display:block}.relation-matrix .corner small{font-weight:400;opacity:.85;margin-top:4px;font-size:.68rem}
.relation-matrix td.D{background:#cce8d8}.relation-matrix td.V{background:#e0d8ef}.relation-matrix td.Tc{background:#f2c9b8}
.relation-matrix td.diagonal{box-shadow:inset 0 0 0 3px #e3af45;background:#ffe39b}
.relgrid-badge{display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:30px;padding:0 8px;border-radius:999px;font-weight:800;letter-spacing:.01em;color:#4a3025;background:rgba(255,255,255,.62);border:1px solid rgba(91,59,41,.12)}
.relgrid-badge.Tc{min-width:44px}
.relation-grid-note{margin-top:16px;padding:13px 15px;border-left:4px solid #d9a04a;background:#fff6df;border-radius:10px;line-height:1.45}
.relation-grid-example-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.relation-grid-example-list>div{display:grid;grid-template-columns:auto auto 1fr;gap:8px;align-items:center;padding:11px 12px;border:1px solid #eadfd5;border-radius:12px;background:#fffdfb}
.relation-grid-example-list>div>span{font-weight:700}.relation-grid-example-list small{color:#746159}
@media(max-width:900px){.relation-grid-example-list{grid-template-columns:1fr 1fr}}
@media(max-width:620px){.relation-grid-example-list{grid-template-columns:1fr}.relation-grid-head .btn{width:100%}}
@media print{
  .relations-grid-page .app-sidebar,.relations-grid-page .no-print{display:none!important}
  .relations-grid-page{background:#fff!important}.relations-grid-page .wrap{margin:0!important;max-width:none!important;padding:0!important}
  .relations-grid-page .notice,.relations-grid-page .relation-grid-examples{display:none!important}
  .relations-grid-page .relation-grid-card{box-shadow:none!important;border:0!important;padding:0!important}
  .relations-grid-page .relation-matrix{min-width:0!important;width:100%!important;border-spacing:1px!important;font-size:9px!important}
  .relations-grid-page .relation-matrix th,.relations-grid-page .relation-matrix td{height:36px!important;border-radius:2px!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .relations-grid-page .relgrid-badge{height:22px!important;min-width:28px!important;font-size:9px!important}
  @page{size:A4 landscape;margin:8mm}
}


/* V1.26.1 — navigation interne des éléments du thème */
.theme-content-shell{display:grid;grid-template-columns:215px minmax(0,1fr);gap:22px;align-items:start;margin-top:26px;max-width:100%}
.theme-content-column{min-width:0;max-width:100%;overflow-x:hidden}
.theme-toc{position:sticky;top:18px;max-height:calc(100vh - 36px);border:1px solid #e4d7cc;border-radius:18px;background:#fffdf9;box-shadow:0 10px 28px rgba(82,54,38,.07);overflow:hidden;z-index:18}
.theme-toc-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 14px;border-bottom:1px solid #eadfd5;background:#f7eee6;color:#503125}.theme-toc-head strong{font-size:.93rem}.theme-toc-head a{font-size:.76rem;color:#8b5c42;text-decoration:none}
.theme-toc-scroll{padding:9px;max-height:calc(100vh - 92px);overflow:auto;scrollbar-width:thin}
.theme-toc-group{display:grid;gap:2px;margin-bottom:9px}.theme-toc-group:last-child{margin-bottom:0}.theme-toc-group>span{padding:7px 9px 4px;font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;color:#9a735c}
.theme-toc-group a{display:block;padding:7px 9px;border-radius:9px;color:#62483b;text-decoration:none;font-size:.79rem;line-height:1.18;transition:background .15s ease,color .15s ease,transform .15s ease}.theme-toc-group a:hover{background:#f5e9df;color:#3f281e}.theme-toc-group a.active{background:#b85f38;color:#fff;box-shadow:0 3px 10px rgba(136,72,44,.18)}
.theme-anchor{scroll-margin-top:20px}.theme-anchor::before{content:"";display:block;height:1px;margin-top:-1px;visibility:hidden}
.theme-toc-toggle{display:none;width:100%;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 0;padding:11px 14px;border:1px solid #dccabe;border-radius:13px;background:#fffaf5;color:#57382a;font:inherit;cursor:pointer}.theme-toc-toggle span:first-child{font-weight:700}.theme-toc-toggle-icon{transition:transform .18s ease}.theme-toc-toggle[aria-expanded="true"] .theme-toc-toggle-icon{transform:rotate(180deg)}
@media(max-width:1750px){.theme-toc-toggle{display:flex}.theme-content-shell{display:block;margin-top:10px}.theme-content-column{width:100%;max-width:100%;overflow-x:hidden}.theme-toc{display:none;position:relative;top:auto;max-height:none;margin:0 0 18px;border-radius:14px}.theme-toc.is-open{display:block}.theme-toc-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 14px;max-height:58vh}.theme-toc-head{display:none}.theme-toc-group{align-content:start}.theme-anchor{scroll-margin-top:12px}}
@media(max-width:700px){.theme-toc-scroll{grid-template-columns:1fr;max-height:65vh}.theme-toc-group a{font-size:.82rem;padding:8px 9px}}



/* V1.27.0 — audit de couverture Notter */
.coverage-wrap{max-width:1280px}.coverage-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:18px}.coverage-head h1{margin:.2rem 0 .45rem}.coverage-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.coverage-stat{border-radius:18px;padding:18px 20px;border:1px solid #e6d7ca;background:#fff}.coverage-stat strong{display:block;font-size:2rem;line-height:1;color:#5a3425}.coverage-stat span{display:block;margin-top:7px;color:#745f54}.coverage-stat.developed{background:#eef8f1;border-color:#c9e2d0}.coverage-stat.pending{background:#fff7df;border-color:#ead59a}.coverage-stat.manual{background:#f5f1f8;border-color:#ddd0e5}.coverage-group{padding:0;overflow:hidden}.coverage-group-head{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:17px 20px;background:#fff7ef;border-bottom:1px solid #eaded2}.coverage-group-head h2{margin:0;font-size:1.18rem}.coverage-group-head span{font-size:.86rem;color:#7f695e}.coverage-table-wrap{overflow-x:auto}.coverage-table{width:100%;border-collapse:collapse}.coverage-table th,.coverage-table td{text-align:left;padding:13px 16px;border-bottom:1px solid #eee4dc;vertical-align:middle}.coverage-table th{background:#f7ede3;color:#5c3a2b;font-size:.86rem}.coverage-table tbody tr:last-child td{border-bottom:0}.coverage-table tr.status-pending td{background:#fffaf0}.coverage-table tr.status-manual td{background:#faf8fb}.coverage-badge{display:inline-flex;align-items:center;white-space:nowrap;padding:5px 9px;border-radius:999px;font-size:.78rem;font-weight:700}.coverage-badge.developed{background:#dff1e4;color:#356143}.coverage-badge.pending{background:#ffe7a5;color:#755514}.coverage-badge.manual{background:#e9e1ee;color:#664c71}.coverage-next-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.coverage-next-grid>div{border:1px solid #e7d9cd;border-radius:16px;padding:16px;background:#fffaf6}.coverage-next-grid strong{display:block;margin:8px 0 4px;font-size:1.05rem}.coverage-next-grid p{margin:0;color:#725d52;line-height:1.45}.coverage-step{display:inline-block;padding:4px 8px;border-radius:999px;background:#f2d8b4;color:#6b412d;font-size:.78rem;font-weight:700}.coverage-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0 8px}@media(max-width:850px){.coverage-summary,.coverage-next-grid{grid-template-columns:1fr}.coverage-head{display:block}.coverage-head .btn{margin-top:12px}.coverage-group-head{align-items:flex-start;flex-direction:column}}
@media print{.coverage-page .app-sidebar{display:none!important}.coverage-page.with-sidebar{padding-left:0!important}.coverage-page .wrap{max-width:none!important;padding:0!important}.coverage-group{break-inside:avoid}.coverage-summary{grid-template-columns:repeat(3,1fr)}.coverage-next-grid{grid-template-columns:repeat(3,1fr)}}


/* V1.28.0 — heures personnelles */
.daily-summary-card.hour{background:#e4eef7;border-color:#b9cfdf}
.daily-hours-block{margin-top:18px;padding:16px;border:1px solid #e2d8cf;border-radius:18px;background:#fffdfb}
.personal-hour-grid{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:8px;margin:12px 0}
.personal-hour-cell{display:grid;gap:4px;padding:10px 8px;border:1px solid #d8e0e7;border-radius:12px;background:#edf4f9;text-align:center}
.personal-hour-cell span{font-size:.76rem;color:#647686}.personal-hour-cell strong{font-size:1.2rem;color:#3e5060}.personal-hour-cell small{font-size:.68rem;color:#71808c;line-height:1.25}
.personal-hour-cell.active{background:#fff0b8;border:2px solid #d5aa4e;box-shadow:0 0 0 2px rgba(213,170,78,.12)}
.daily-relations-strip{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(max-width:1100px){.personal-hour-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.daily-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.personal-hour-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.daily-summary-grid,.daily-relations-strip{grid-template-columns:1fr}}


/* V1.29.0 — cycles universels de 7 ans */
.annual-summary-card.sevenyear{background:#e9edf7;border-color:#c7d0e3}
.seven-year-card{overflow:hidden}.seven-year-active{display:grid;gap:5px;margin:12px 0 16px;padding:14px 16px;border:1px solid #c8d3e6;border-radius:16px;background:#edf2fb}.seven-year-active span{font-size:.78rem;color:#6c7487}.seven-year-active strong{font-size:1.2rem;color:#4b5570}.seven-year-active small{color:#6d6a67}
.seven-year-table{width:100%;border-collapse:collapse;min-width:900px}.seven-year-table th,.seven-year-table td{padding:11px 12px;border:1px solid #e4d9cf;text-align:left;vertical-align:middle}.seven-year-table thead th{background:#7d89a8;color:#fff}.seven-year-table tbody tr:nth-child(even) td{background:#f8f8fb}.seven-year-table .active-row td{background:#fff1bf!important}.source-status{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:.75rem;font-weight:700;white-space:nowrap}.source-status.explicit{background:#dfeee4;color:#365f43}.source-status.extended{background:#f3eadc;color:#755a36}.seven-year-note{margin-top:12px;padding:12px 14px;border-left:4px solid #8b93ad;border-radius:10px;background:#f6f5f3;color:#65584f;line-height:1.45}
@media(max-width:760px){.seven-year-active{padding:12px}.seven-year-table{min-width:760px}}
@media print{.seven-year-table{min-width:0!important;font-size:8px}.seven-year-table th,.seven-year-table td{padding:6px 5px}.seven-year-active{padding:8px}.seven-year-note{font-size:7px}.source-status{font-size:7px;padding:2px 4px}}

/* V1.29.3 — confinement strict du contenu du thème */
.theme-content-column .card,.theme-content-column .table-scroll,.theme-content-column .grid-table-scroll,.theme-content-column .separate-grids,.theme-content-column .horizontal-grids,.theme-content-column .separate-grid-card{max-width:100%;min-width:0}
.theme-content-column .table-scroll,.theme-content-column .grid-table-scroll{overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain}
.theme-content-column .nine-column-grid{margin-left:0;margin-right:0}

/* V1.29.7 — commandes d’impression par section */
.section-print-toolbar{display:flex;justify-content:flex-end;align-items:center;margin:-4px 0 12px}.section-print-toolbar .btn{margin:0}@media(max-width:760px){.section-print-toolbar{justify-content:stretch}.section-print-toolbar .btn{width:100%;text-align:center}}


/* V1.31.0 — SIP · Saboteur intérieur préféré */
.sip-card{overflow:hidden}.sip-table-scroll{margin-top:14px}.sip-table{min-width:940px}.sip-table td{text-align:center;font-size:1rem;font-weight:700}.sip-inhabitants td{background:#f8e4b8;color:#5d381f}.sip-letters td{background:#e8f1ed;color:#35594d}.sip-codes td{background:#e8eef8;color:#43536d}.sip-differences td{background:#f3e8f4;color:#633f67}.sip-total-line{display:flex;justify-content:space-between;gap:18px;align-items:center;margin:14px 0;padding:13px 16px;border-radius:14px;background:#5d3527;color:#fff}.sip-total-line span{font-size:.82rem;text-transform:uppercase;letter-spacing:.05em}.sip-total-line strong{font-size:1.12rem}.sip-reading-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.sip-reading-card{display:grid;gap:6px;padding:15px;border:1px solid #e1d5ca;border-radius:16px;background:#fff}.sip-reading-card.primary{background:#fff0cf;border-color:#e3bd72}.sip-reading-card span{font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.04em;color:#7a5f51}.sip-reading-card strong{font-size:2rem;color:#4f2d20}.sip-reading-card small{color:#6f5a4f;line-height:1.35}.sip-warning{margin-top:12px}.source-badge{display:inline-flex;align-items:center;padding:7px 10px;border-radius:999px;background:#f1e6dd;color:#6a4635;font-size:.78rem;font-weight:700}@media(max-width:850px){.sip-reading-grid{grid-template-columns:1fr}.sip-total-line{align-items:flex-start;flex-direction:column}.sip-table{min-width:820px}}@media print{.sip-card{border:0!important;padding:0!important}.sip-table{min-width:0!important;font-size:8px}.sip-table th,.sip-table td{padding:6px 4px!important}.sip-reading-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.sip-reading-card{padding:9px!important;break-inside:avoid!important}.sip-reading-card strong{font-size:18px!important}.sip-reading-card small{font-size:7px!important}.sip-total-line{padding:8px 10px!important;margin:8px 0!important}.sip-warning{font-size:8px!important}}

/* V1.47.0 · interprétation des Inclusions dérivées Père / Mère */
.derived-analysis{margin:14px 0;padding:16px;border:1px solid #ddd5cb;border-radius:14px;background:linear-gradient(180deg,#fff 0%,#fbf8f4 100%)}
.derived-analysis-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap;margin-bottom:12px}.derived-analysis-head h3{margin:5px 0 0;color:#5f463a}.derived-principle{padding:12px 14px;border-radius:10px;background:#edf4f0;border-left:5px solid #7fa594;line-height:1.5;color:#45584f}.derived-principle span{display:block;margin-top:5px}.derived-interpret-table{width:100%;min-width:760px;border-collapse:collapse;margin:14px 0}.derived-interpret-table th,.derived-interpret-table td{padding:10px 9px;border:1px solid #e4ddd6;text-align:center}.derived-interpret-table thead th{background:#e8ded4;color:#5e493f}.derived-interpret-table tbody th{background:#f3eee9;color:#6b5043}.derived-interpret-table .less-significant-row td,.derived-interpret-table .less-significant-row th{background:#f7f4f1;color:#85776f}.derived-echo{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:999px;background:#e3efe7;color:#42624f;font-size:.68rem;font-weight:800}.derived-priority-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.derived-priority-card{padding:13px;border-radius:11px;border:1px solid #e2d8cf;background:#fff}.derived-priority-card>span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#8a6b5c;font-weight:800;margin-bottom:5px}.derived-priority-card>strong{display:block;color:#60463a}.derived-priority-card p{font-size:.84rem;line-height:1.45;margin:7px 0}.derived-priority-card small{display:block;color:#87796f;line-height:1.35}.derived-caution{margin-top:12px;padding:12px 14px;border-radius:10px;background:#fff4df;border:1px solid #ead7aa;color:#66502f;line-height:1.5}@media(max-width:760px){.derived-priority-grid{grid-template-columns:1fr}}
.family-synthesis{margin:14px 0;padding:16px 17px;border-radius:13px;background:#fbf7f2;border:1px solid #e6d8cc}.family-synthesis-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;flex-wrap:wrap}.family-synthesis-head h3{margin:6px 0 4px;color:#704936}.family-synthesis>p{line-height:1.5}.family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:13px 0}.family-card{padding:13px;border-radius:11px;background:#fff;border:1px solid #eadfd5;display:flex;flex-direction:column;gap:5px}.family-card>span{font-size:.72rem;text-transform:uppercase;letter-spacing:.05em;color:#8a6251;font-weight:800}.family-card>strong{color:#684333}.family-card>b{font-size:1.15rem;color:#773d29}.family-card small{line-height:1.4;color:#6f625a}.family-secondary{margin-top:5px;padding-top:7px;border-top:1px solid #eee4dc}.family-questions{padding:13px 14px;border-radius:11px;background:#f4f6fa;border:1px solid #dce3ed}.family-questions>strong{color:#455f7d}.family-questions ol{margin:8px 0 0 20px;padding:0}.family-questions li{margin:5px 0;line-height:1.45}@media(max-width:900px){.family-grid{grid-template-columns:1fr}}
/* V1.48.2 — deux axes directement dans la barre de navigation verticale */
.sidebar-axis-section{display:grid;gap:4px;margin:3px 0 7px;padding:8px 7px 9px;border:1px solid rgba(239,189,115,.18);border-radius:13px;background:rgba(255,255,255,.035)}
.sidebar-axis-title{padding:0 6px 3px;font-size:.64rem;letter-spacing:.09em;text-transform:uppercase;color:#d7b6a0}
.sidebar-axis-main{min-height:44px;background:rgba(255,255,255,.035)}
.sidebar-axis-main .sidebar-icon{border-radius:8px;background:rgba(239,189,115,.1);color:#f0c68b}
.sidebar-axis-main.active .sidebar-icon{background:rgba(72,39,25,.12);color:#482719}
.sidebar-axis-section .sidebar-subnav{margin:1px 0 3px 39px;padding-top:3px;padding-bottom:2px}
@media(max-width:900px){.sidebar-axis-section{display:contents}.sidebar-axis-title{display:none}.sidebar-axis-section .sidebar-subnav{display:none}.sidebar-axis-main{min-height:auto;background:transparent}.sidebar-axis-main .sidebar-icon{background:transparent;color:inherit}}


/* V1.48.3 · Deux axes toujours visibles dans la navigation verticale */
.sidebar-axis-global{margin-top:2px;margin-bottom:9px}
.sidebar-axis-global .sidebar-axis-main{font-weight:720}
.axis-choice-notice{margin:0 0 18px}

/* V1.54.0 — Récurrence globale du thème */
.recurrence-mini-panel{background:linear-gradient(180deg,#fffdf8 0%,#fbf4e9 100%)}
.recurrence-mini-leaders{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0 8px}.recurrence-mini-leaders strong{display:inline-flex;align-items:center;justify-content:center;min-width:54px;height:54px;padding:0 14px;border-radius:16px;background:#5b3b2b;color:#fff;font-size:1.6rem;box-shadow:0 8px 18px rgba(72,45,31,.12)}
.recurrence-global-card{border:1px solid #ddcec0;background:linear-gradient(180deg,#fffdf9 0%,#fffaf4 100%)}
.recurrence-hero{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(240px,.8fr);gap:14px;margin:18px 0}.recurrence-hero-main,.recurrence-hero-secondary{border:1px solid #e4d7cc;border-radius:18px;background:#fff;padding:18px}.recurrence-hero-main>span,.recurrence-hero-secondary>span{display:block;font-size:.76rem;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:#987360}.recurrence-leader-values{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.recurrence-leader-values strong{display:inline-flex;align-items:center;justify-content:center;min-width:72px;height:72px;padding:0 18px;border-radius:20px;background:#5b3b2b;color:#fff;font-size:2.15rem;line-height:1}.recurrence-hero-main small,.recurrence-hero-secondary small{display:block;color:#7f6a5f;margin-top:6px}.recurrence-hero-secondary strong{display:block;margin-top:10px;font-size:1.8rem;color:#5b3b2b}
.recurrence-scope-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:14px 0 20px}.recurrence-scope-grid>div{display:grid;grid-template-columns:1fr auto;grid-template-areas:"label count" "small count";column-gap:10px;align-items:center;padding:12px 14px;border:1px solid #eadfd6;border-radius:14px;background:#fff}.recurrence-scope-grid span{grid-area:label;font-size:.78rem;color:#745f54}.recurrence-scope-grid strong{grid-area:count;font-size:1.35rem;color:#513326}.recurrence-scope-grid small{grid-area:small;color:#9b897f}
.recurrence-subtitle{margin:20px 0 10px;color:#53372a}.recurrence-ranking{display:grid;gap:8px}.recurrence-rank-card{border:1px solid #e7dbd2;border-radius:14px;background:#fff;overflow:hidden}.recurrence-rank-card.is-leader{border-color:#d4ad74;background:#fffaf0;box-shadow:inset 4px 0 0 #d4ad74}.recurrence-rank-card.is-zero{background:#f7f3f0}.recurrence-rank-card summary{list-style:none;display:grid;grid-template-columns:64px 58px 1fr;gap:12px;align-items:center;padding:11px 14px;cursor:pointer}.recurrence-rank-card summary::-webkit-details-marker{display:none}.recurrence-number{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:14px;background:#f0e5dc;color:#53352a;font-weight:800;font-size:1.3rem}.is-leader .recurrence-number{background:#5b3b2b;color:#fff}.recurrence-count{font-weight:800;font-size:1.05rem;color:#6d4b3a}.recurrence-groups{font-size:.78rem;color:#7f6a5f;line-height:1.35}.recurrence-occurrences{display:flex;flex-wrap:wrap;gap:7px;padding:0 14px 14px 148px}.recurrence-occurrences span{padding:7px 9px;border-radius:10px;background:#f8f3ef;border:1px solid #eee2d8;font-size:.76rem;color:#675248}.recurrence-occurrences b{color:#4e3428}.recurrence-method-note{margin-top:16px;padding:12px 14px;border-radius:13px;background:#f5eee8;color:#69564b;font-size:.82rem;line-height:1.45}.recurrence-method-note.secondary{margin-top:8px;background:#f8f5f2;color:#796b63}
@media(max-width:900px){.recurrence-hero{grid-template-columns:1fr}.recurrence-scope-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.recurrence-rank-card summary{grid-template-columns:54px 48px 1fr}.recurrence-occurrences{padding-left:14px}}
@media(max-width:560px){.recurrence-scope-grid{grid-template-columns:1fr}.recurrence-rank-card summary{grid-template-columns:48px 44px 1fr;gap:8px;padding:10px}.recurrence-number{width:42px;height:42px}.recurrence-groups{font-size:.72rem}}
@media print{.recurrence-rank-card{break-inside:avoid}.recurrence-rank-card details{open:true}.recurrence-occurrences{padding-left:14px}.recurrence-hero{grid-template-columns:1.35fr .65fr}}

/* V1.55.0 — inscription et gestion des comptes */
.auth-page{min-height:100vh;margin:0;background:radial-gradient(circle at top left,#fff8f0 0,#f5eee8 42%,#eee7e2 100%);color:#352d29;display:flex;align-items:center;justify-content:center;padding:28px 18px}.auth-shell{width:min(100%,580px)}.auth-card{background:rgba(255,255,255,.96);border:1px solid #e4d8cf;border-radius:22px;box-shadow:0 24px 70px rgba(64,45,35,.13);padding:32px}.auth-card-wide{width:min(100%,680px);margin-left:50%;transform:translateX(-50%)}.auth-brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}.auth-brand>div{display:flex;flex-direction:column}.auth-brand strong{font-size:1.04rem;color:#543828}.auth-brand small{color:#8d7a6e;font-size:.76rem}.auth-copy{margin-bottom:22px}.auth-kicker{display:block;color:#a56a48;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:800}.auth-copy h1{margin:5px 0 8px;font-size:2rem;color:#4f3528}.auth-copy p{margin:0;color:#76665d;line-height:1.55}.auth-form{display:grid;gap:17px}.auth-form label{display:grid;gap:7px;color:#5c4a41;font-size:.9rem;font-weight:600}.auth-form input{width:100%;box-sizing:border-box;min-height:48px;padding:11px 13px;border:1px solid #d8c9be;border-radius:12px;background:#fffdfb;color:#332a26;font:inherit}.auth-form input:focus{outline:none;border-color:#c8764e;box-shadow:0 0 0 4px rgba(197,112,72,.11)}.auth-form small{color:#918178;font-weight:400}.auth-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.auth-submit{width:100%;justify-content:center;margin-top:3px}.auth-divider{display:flex;align-items:center;gap:12px;margin:24px 0 15px;color:#9b8a80;font-size:.78rem}.auth-divider:before,.auth-divider:after{content:"";height:1px;background:#eadfd7;flex:1}.auth-register-link{width:100%;justify-content:center;box-sizing:border-box}.auth-back-link{display:block;text-align:center}.account-summary{display:flex;align-items:baseline;gap:7px;padding:8px 12px;border-radius:12px;background:#f5ece6;color:#76503c}.account-summary strong{font-size:1.25rem}.account-summary span{font-size:.8rem}.account-status{display:inline-flex;align-items:center;padding:5px 9px;border-radius:999px;font-size:.75rem;font-weight:800}.account-status-pending{background:#fff2cc;color:#8a6412}.account-status-active{background:#e8f3e9;color:#376447}.account-status-disabled{background:#f3e7e5;color:#8a453f}.user-table .inline-form{display:inline-flex}@media(max-width:680px){.auth-card{padding:24px 20px}.auth-card-wide{width:100%;margin-left:0;transform:none}.auth-grid{grid-template-columns:1fr}.auth-copy h1{font-size:1.65rem}}

/* V1.56.0 — Mon compte et profil utilisateur */
.account-wrap{max-width:1180px}.account-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0 22px}.account-overview-card{padding:16px 18px;border:1px solid #e6d9cf;border-radius:16px;background:#fffdfb;display:grid;gap:5px}.account-overview-card span{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#95725f;font-weight:800}.account-overview-card strong{font-size:1.05rem;color:#533528;overflow-wrap:anywhere}.account-overview-card small{color:#88776d;line-height:1.35}.account-form{margin-bottom:18px}.account-profile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;margin:18px 0}.account-profile-grid label{display:grid;gap:7px;font-size:.86rem;font-weight:700;color:#60483c}.account-profile-grid input,.account-profile-grid select,.account-profile-grid textarea{width:100%;box-sizing:border-box;border:1px solid #d9cbc1;border-radius:11px;background:#fff;padding:10px 12px;color:#352d29;font:inherit}.account-profile-grid textarea{resize:vertical}.account-profile-grid input:focus,.account-profile-grid select:focus,.account-profile-grid textarea:focus{outline:none;border-color:#bd7650;box-shadow:0 0 0 3px rgba(189,118,80,.10)}.account-profile-grid small{font-weight:400;color:#8c7c73;line-height:1.35}.account-field-wide{grid-column:1/-1}.password-form{max-width:900px}@media(max-width:760px){.account-overview,.account-profile-grid{grid-template-columns:1fr}.account-field-wide{grid-column:auto}.password-form .account-profile-grid>span{display:none}}


/* V1.57.0 — mot de passe oublié et réinitialisation sécurisée */
.auth-help-row{display:flex;justify-content:flex-end;margin-top:-7px}.auth-help-row .text-link{font-size:.82rem}.reset-invalid{display:grid;gap:14px}.reset-invalid p{margin:0;color:#76665d;line-height:1.55}.reset-link-card{margin:18px 0;border-color:#d9c08c;background:#fffaf0}.reset-link-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center}.reset-link-copy input{width:100%;box-sizing:border-box;border:1px solid #d7c6b7;border-radius:10px;padding:10px 12px;background:#fff;color:#4d382e;font:inherit}.reset-requests-card{margin:18px 0}.reset-request-table td,.reset-request-table th{vertical-align:middle}.reset-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#fff1cf;color:#815f16;font-size:.75rem;font-weight:800}.reset-status.expired{background:#f1e7e4;color:#894e47}@media(max-width:680px){.reset-link-copy{grid-template-columns:1fr}.reset-link-copy .btn{width:100%;justify-content:center}}

/* V1.58.0 — configuration SMTP */
.settings-wrap{max-width:1180px}.smtp-settings-card{margin-top:18px}.smtp-state{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;font-size:.76rem;font-weight:800}.smtp-state.is-on{background:#e6f3e9;color:#356344}.smtp-state.is-off{background:#f1e9e5;color:#805448}.smtp-toggle{display:flex;gap:11px;align-items:flex-start;margin:18px 0;padding:14px 16px;border:1px solid #e5d8ce;border-radius:14px;background:#fffaf6}.smtp-toggle input{margin-top:4px}.smtp-toggle span{display:grid;gap:3px}.smtp-toggle small{color:#88766c;font-weight:400}.smtp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px 18px;margin:18px 0}.smtp-grid label,.smtp-test-row label{display:grid;gap:7px;font-size:.86rem;font-weight:700;color:#60483c}.smtp-grid input,.smtp-grid select,.smtp-test-row input{width:100%;box-sizing:border-box;border:1px solid #d9cbc1;border-radius:11px;background:#fff;padding:10px 12px;color:#352d29;font:inherit}.smtp-grid small{font-weight:400;color:#8c7c73}.smtp-clear{display:flex!important;align-items:center;gap:9px;padding-top:29px}.smtp-clear input{width:auto!important}.smtp-automation-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:12px 0 20px}.smtp-automation-grid label{display:flex;align-items:flex-start;gap:10px;padding:13px;border:1px solid #e5d9d0;border-radius:13px;background:#fffdfb}.smtp-automation-grid label>span{display:grid;gap:4px}.smtp-automation-grid small{color:#89786f;line-height:1.35}.smtp-automation-grid input{margin-top:4px}.smtp-test-row{display:grid;grid-template-columns:minmax(240px,1fr) auto;gap:18px;align-items:end;border-top:1px solid #eadfd7;padding-top:18px}.smtp-actions{display:flex;gap:9px;flex-wrap:wrap}.smtp-settings-card h3{margin:20px 0 8px;color:#56392c}.reset-status.sent{background:#e5f2e7;color:#3c6749}@media(max-width:820px){.smtp-grid,.smtp-automation-grid,.smtp-test-row{grid-template-columns:1fr}.smtp-clear{padding-top:0}.smtp-actions .btn{width:100%;justify-content:center}}


/* V1.59.0 — Plans d’accès */
.access-plan-banner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;margin:0 0 18px;border:1px solid rgba(108,91,75,.18);border-radius:16px;background:linear-gradient(135deg,rgba(251,244,237,.96),rgba(246,250,247,.96))}.access-plan-banner>div{display:grid;gap:3px}.access-plan-banner strong{font-size:1.08rem}.access-plan-banner small{color:var(--muted,#756d67)}.plan-quota{white-space:nowrap;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid rgba(108,91,75,.16);font-weight:700}.free-theme-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-bottom:18px}.free-result-card .result-number{font-size:3.2rem;margin:.35rem 0}.free-inclusion-card{margin-top:10px}.access-upgrade-note{margin-top:18px}.plan-inline-form select{min-width:145px;max-width:210px;padding:7px 8px;border-radius:9px}.btn[disabled]{opacity:.5;cursor:not-allowed}@media(max-width:760px){.access-plan-banner{align-items:flex-start;flex-direction:column}.free-theme-grid{grid-template-columns:1fr}}

/* V1.60.0 — formules avancées et droits modulaires */
.access-dimension-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:18px 0}.access-dimension-grid .card{margin:0}.access-dimension-grid h3{margin:5px 0 7px}.access-dimension-grid p{margin:0;color:#7c6d64;line-height:1.45}.access-plans-table td,.access-plans-table th{vertical-align:middle}.plan-editor{margin-top:20px}.plan-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.check-card{display:flex!important;align-items:flex-start;gap:10px;padding:13px 14px;border:1px solid #e4d8ce;border-radius:13px;background:#fffdfb}.check-card input{width:auto!important;margin-top:4px}.check-card span{display:grid;gap:3px}.check-card small{color:#88786f;font-weight:400;line-height:1.35}.plan-element-mode{display:flex;gap:20px;flex-wrap:wrap;margin:18px 0;padding:14px 16px;border:1px solid #e3d7ce;border-radius:14px}.plan-element-mode legend{padding:0 7px;font-weight:800;color:#62483b}.plan-element-mode label{display:flex;gap:7px;align-items:center}.element-rights-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;transition:opacity .15s ease}.element-rights-grid.is-disabled{opacity:.38;pointer-events:none}.element-rights-group{padding:15px;border:1px solid #e7ddd5;border-radius:14px;background:#fff}.element-rights-group h3{margin:0 0 10px;color:#65483a}.element-right{display:flex!important;gap:10px;align-items:flex-start;padding:9px 0;border-top:1px solid #f0e8e2}.element-right:first-of-type{border-top:0}.element-right input{width:auto!important;margin-top:4px}.element-right span{display:grid;gap:2px}.element-right small{font-weight:400;color:#87776e;line-height:1.3}.form-actions{display:flex;justify-content:flex-end;margin-top:18px}.limited-elements-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:18px 0}.limited-element-card{margin:0}.limited-element-card .result-number{font-size:2.6rem;margin:.3rem 0}.limited-grid-card,.limited-list-card{margin:18px 0}.limited-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.limited-list>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;align-items:center;padding:11px 12px;border:1px solid #e8ddd5;border-radius:11px;background:#fffdfb}.limited-list span{color:#685449}.limited-list strong{font-size:1.05rem;color:#56382b}.limited-list small{grid-column:1/-1;color:#8a7a71}.plan-quota{max-width:46%;overflow:hidden;text-overflow:ellipsis}.account-overview{grid-template-columns:repeat(4,minmax(0,1fr))}@media(max-width:1000px){.limited-elements-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.element-rights-grid{grid-template-columns:1fr}.account-overview{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.access-dimension-grid,.plan-switches,.limited-elements-grid,.limited-list,.account-overview{grid-template-columns:1fr}.plan-quota{max-width:none}.form-actions .btn{width:100%;justify-content:center}}
