.codex-dialog{position:fixed;inset:0 0 0 auto;width:min(760px,94vw);height:100dvh;max-height:100dvh;max-width:100vw;margin:0;border:0;border-left:1px solid #4b5e4d;padding:0;background:#f4f1e8;color:#25352d;box-shadow:-20px 0 80px #06110b66;overflow:hidden}
.codex-dialog::backdrop{background:#07130ed1;backdrop-filter:blur(3px)}
.codex-dialog[open]{display:flex;flex-direction:column}
.codex-is-open{overflow:hidden}
.codex-chrome{display:flex;align-items:center;gap:16px;min-height:76px;padding:12px 22px;background:#142e23;color:#f4edda;border-bottom:3px solid #bfa56c;flex:none}
.codex-chrome>div{flex:1}
.codex-chrome h2{font-size:19px;margin:0;color:inherit}
.codex-chrome .eyebrow{color:#ccb986;font-size:10px;margin:0 0 4px}
.codex-chrome button{width:44px;height:44px;border:1px solid #748274;background:transparent;color:inherit;border-radius:6px;font-size:25px}
.codex-chrome button:disabled{opacity:.3}
.codex-content{overflow-y:auto;overscroll-behavior:contain;padding:28px 28px 60px;flex:1;min-height:0}
.codex-page-shell{max-width:1220px;margin:0 auto;padding:30px 18px 60px}
.codex-page-heading{padding:12px 0 30px}
.codex-page-heading h1{font-size:clamp(32px,5vw,52px);margin:5px 0}
.codex-page-heading p{max-width:650px}
.codex-page-shell>[data-codex-page-content]{background:#f4f1e8;border:1px solid #c9cdbb;border-radius:12px;padding:30px;color:#25352d}
.codex-entry-heading h2{font-size:clamp(28px,4vw,40px);line-height:1.14;margin:6px 0 15px;font-family:Georgia,serif;color:#203d2c;overflow-wrap:anywhere}
.codex-entry-heading .eyebrow{color:#6e7155;font-size:10px;line-height:1.7}
.codex-entry-nav{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;gap:16px}
.codex-text-button,.codex-permalink{background:none;border:0;padding:9px 0;font:inherit;font-size:13px;color:#325e43;cursor:pointer;text-decoration:none;min-height:44px}
.codex-permalink{display:inline-flex;align-items:center}
.codex-lead{font-size:19px;line-height:1.65;max-width:72ch;margin:20px 0;color:#34493d}
.codex-caption,.codex-aliases{font-size:12px;color:#657060;line-height:1.6}
.codex-badges{display:flex;flex-wrap:wrap;gap:6px}
.codex-badge{display:inline-flex;width:fit-content;font-size:10px;font-weight:750;text-transform:uppercase;letter-spacing:.04em;border:1px solid #c3ccb9;border-radius:4px;padding:5px 8px;color:#36533d;background:#e8eddf;line-height:1.5}
.codex-badge--partial,.codex-badge--blocked,.codex-badge--unresolved,.codex-badge--missing_source{color:#745019;background:#f1e5c9;border-color:#d8bf87}
.codex-badge--not_implemented,.codex-badge--not_evaluated{background:#e9e8e0;color:#616558;border-color:#cbcec0}
.codex-source-gap{background:#f1e5c9;border-left:3px solid #b08439;padding:18px 22px;margin:24px 0;border-radius:0 8px 8px 0}
.codex-source-gap h3{font-size:15px;margin:0 0 8px}
.codex-source-gap p{font-size:14px;line-height:1.7;margin:8px 0}
.codex-section{border-top:1px solid #cdd2c0;margin-top:28px;padding-top:20px}
.codex-section h3{font-size:19px;color:#294633;margin:0 0 14px;font-family:Georgia,serif}
.codex-section summary{font-weight:650;color:#3d513d;cursor:pointer;min-height:44px;line-height:1.6;list-style-position:inside}
.codex-section summary:focus-visible,.codex-category:focus-visible,.codex-term:focus-visible,.codex-related-link:focus-visible{outline:3px solid #8b7434;outline-offset:3px}
.codex-prose{font-size:14px;line-height:1.8;overflow-wrap:anywhere}
.codex-prose p{margin:9px 0}
.codex-prose h4{margin:22px 0 10px}
.codex-term{color:inherit;text-decoration:none;border-bottom:1px dotted currentColor;text-underline-offset:4px;cursor:help}
.codex-term:hover{color:#a47d2c}
.codex-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:1px;background:#cdd2c0;border:1px solid #cdd2c0;border-radius:7px;overflow:hidden;margin:25px 0}
.codex-facts>div{padding:12px;background:#eaece1}
.codex-facts dt{font-size:10px;text-transform:uppercase;margin:0 0 7px}
.codex-facts dd{margin:0;font-weight:700;font-size:17px}
.codex-relation-group{margin:18px 0}
.codex-relation-group h4{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#6d745c;margin:0 0 8px}
.codex-chip-list{display:flex;flex-wrap:wrap;gap:7px}
.codex-related-link{display:inline-flex;flex-direction:column;justify-content:center;gap:3px;padding:10px 13px;min-height:44px;border:1px solid #c4ccb8;border-radius:6px;text-decoration:none;color:#35513b;background:#edf0e5;font-size:13px;line-height:1.4;max-width:100%;overflow-wrap:anywhere}
.codex-related-link:hover{border-color:#6d805d;background:#e2e8d5}
.codex-related-link small{font-size:10px;color:#78806c}
.codex-mini-status{font-size:9px;color:#8b642e}
.codex-source p{font-size:13px;margin:12px 0;line-height:1.6}
.codex-source p>span{display:block;color:#68735f}
.codex-source-link{display:inline-block;font-size:12px;color:#315d42;margin-top:5px}
.codex-technical{color:#626b5e;font-size:13px;line-height:1.7}
.codex-technical .codex-badge{margin:8px 0}
.codex-categories{display:flex;gap:6px;flex-wrap:wrap;margin:20px 0}
.codex-category{padding:10px 13px;min-height:44px;font:inherit;font-size:12px;background:transparent;border:1px solid #c6cfbc;border-radius:5px;cursor:pointer;color:#466147}
.codex-category[aria-current="page"]{background:#244c36;color:#fff5dc;border-color:#244c36}
.codex-search-form{display:grid;grid-template-columns:1fr auto;gap:10px 12px;align-items:end;margin:22px 0}
.codex-search-label{font-size:12px;font-weight:650;color:#536349;display:grid;gap:7px}
.codex-search-form input,.codex-search-form select{width:100%;min-height:46px;border:1px solid #b6c2a8;border-radius:6px;background:#fffcf5;color:#2b4532;font:inherit;font-size:15px;padding:10px 12px;box-sizing:border-box}
.codex-search-form .button{height:46px}
.codex-filters{grid-column:1/-1;padding:4px 0}
.codex-filters summary{cursor:pointer;font-size:12px;min-height:36px;line-height:36px}
.codex-filters>label{display:inline-grid;gap:7px;min-width:180px;width:calc(33.33% - 9px);font-size:12px;margin:0 10px 12px 0;vertical-align:top}
.codex-filters>.codex-related-filter{width:100%}
.codex-suggestions{display:flex;flex-direction:column;gap:3px}
.codex-suggestion{font:inherit;border:1px solid #b6c2a8;border-radius:4px;background:#e8eddf;padding:12px;color:#35543b;text-align:left;cursor:pointer}
.codex-result-heading{display:flex;justify-content:space-between;gap:15px;align-items:center;font-size:13px;color:#6a735f;border-top:1px solid #c9d0bc;padding-top:12px}
.codex-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.codex-result{display:flex;align-items:start;flex-direction:column;gap:8px;padding:21px 20px;background:#fdfbf3;border:1px solid #ccd2c0;border-radius:8px;color:inherit;text-decoration:none;transition:border-color .12s,box-shadow .12s;min-width:0}
.codex-result:hover{border-color:#648164;box-shadow:0 4px 14px #2b443111}
.codex-result .eyebrow{font-size:9px;color:#667354;line-height:1.6}
.codex-result h3{margin:0;color:#26452f;font-family:Georgia,serif;font-size:22px;overflow-wrap:anywhere}
.codex-result p{font-size:13px;line-height:1.65;margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.codex-result .codex-badge{margin-top:auto}
.codex-match{color:#6b704b;font-size:11px}
.codex-pagination{display:flex;justify-content:space-between;margin:20px 0;gap:12px}
.codex-table-scroll{max-width:100%;overflow:auto;margin:14px 0}
.codex-table-scroll table{border-collapse:collapse;font-size:12px;line-height:1.6}
.codex-table-scroll td,.codex-table-scroll th{padding:9px 12px;border:1px solid #c9cfbc;text-align:left;vertical-align:top}
.codex-table-scroll th{background:#e3e8d9;white-space:nowrap}
.codex-table-scroll caption{text-align:left;padding:8px 0;color:#6f7566}
.codex-report details{margin:12px 0;overflow-wrap:anywhere}
.codex-report details summary{cursor:pointer;min-height:44px;line-height:1.6}
.codex-report .codex-related-link{margin:4px}
.codex-tooltip{position:fixed;z-index:2147483647;max-width:316px;padding:15px 17px;background:#fcf7e9;color:#304630;border:1px solid #8b9b75;border-radius:7px;box-shadow:0 8px 25px #0003;pointer-events:none}
.codex-tooltip strong{font-family:Georgia,serif;font-size:18px}
.codex-tooltip p{font-size:12px;line-height:1.6;margin:7px 0}
.codex-loading,.codex-empty,.codex-error{padding:24px 0;color:#68715c}
.codex-log-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}
.codex-log-links .codex-term{font-size:11px}
.codex-card-reference{font-size:11px;line-height:1.5;display:inline-flex;padding:6px;min-height:32px;align-items:center}
.codex-page .codex-results{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:760px){.codex-page .codex-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.codex-page-shell>[data-codex-page-content]{padding:20px}
.codex-content{padding:23px 20px 50px}
.codex-filters>label{width:100%;margin-right:0}
.codex-chrome{padding:10px 16px}
.codex-dialog{width:100vw;border:0}
.codex-results{gap:10px}
.codex-result{padding:17px 15px}
.codex-result h3{font-size:20px}
.codex-result-heading{flex-wrap:wrap}
.codex-lead{font-size:17px}
}
@media(max-width:450px){.codex-results,.codex-page .codex-results{grid-template-columns:1fr}
.codex-content{padding:22px 17px 45px}
.codex-category{padding:9px 10px;font-size:11px}
.codex-page-shell{padding:18px 8px 40px}
.codex-search-form{grid-template-columns:1fr}
.codex-search-form>.button{width:100%}
.codex-page-shell>[data-codex-page-content]{padding:16px}
.codex-facts{grid-template-columns:repeat(3,minmax(0,1fr))}
.codex-lead{font-size:17px}
.codex-source-gap{padding:15px}
.codex-card-reference{min-height:44px}
}

.codex-content p,.codex-page-shell [data-codex-page-content] p,.codex-tooltip p{color:#465340}

.codex-context-help{font-size:12px;line-height:1.8}

