main article { max-width: 900px; margin: 0 auto; padding: 28px clamp(18px, 4vw, 42px); background: #fff; border: 1px solid #e0e5e8; border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.045); }
main article h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); line-height: 1.12; letter-spacing: -.035em; }
main article h2 { margin-top: 2rem; font-size: 1.45rem; line-height: 1.25; }
main article h3 { margin-top: 1.4rem; }
main article p, main article li { font-size: 1rem; line-height: 1.68; }
main article p { margin: 0 0 1rem; }
main article li { margin: .35rem 0; }
main article .lede { font-size: 1.17rem; color: #4b5962; }
main article a { text-decoration: underline; text-underline-offset: .15em; }
main article code, main article pre { font-family: Consolas, "Liberation Mono", monospace; }
main article code { padding: .08em .25em; border-radius: 3px; background: #f0f4f1; overflow-wrap: anywhere; }
main article pre { overflow-x: auto; padding: 14px 16px; border: 1px solid #d9e3da; border-radius: 6px; background: #f6f8f6; line-height: 1.5; }
main article pre code { padding: 0; background: transparent; white-space: pre; }
.table-wrap { width: 100%; overflow-x: auto; margin: 1rem 0 1.4rem; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table th, .data-table td { padding: .7rem .75rem; border: 1px solid #d8e1dc; vertical-align: top; line-height: 1.5; }
.data-table th { background: #eff6ef; font-weight: 700; }
.callout { display: block; margin: 1.4rem 0; padding: 1rem 1.1rem; border-left: 4px solid #4b9c4b; background: #f2f8f2; line-height: 1.65; }
.link-list li { margin: .5rem 0; }
.resource-list { padding-left: 1.2rem; }
.resource-list > li { margin: 1rem 0 1.2rem; }
.resource-list p { margin: .3rem 0 0; }
.source-note { padding-top: .8rem; border-top: 1px solid #e1e5e2; color: #59645d; font-size: .88rem; }
.tool-panel { margin: 1.5rem 0; padding: clamp(16px,3vw,24px); border: 1px solid #d8e1dc; border-radius: 8px; background: #fbfdfb; }
.tool-panel h2 { margin-top: 0; }
.tool-label { display: block; margin: .8rem 0 .35rem; font-weight: 700; }
.tool-panel textarea, .tool-panel select, .tool-panel input[type=file] { width: 100%; padding: .7rem; border: 1px solid #aebbb1; border-radius: 5px; background: #fff; font: inherit; }
.tool-panel textarea { min-height: 6rem; resize: vertical; font-family: Consolas, "Liberation Mono", monospace; line-height: 1.5; }
.tool-actions { display: flex; flex-wrap: wrap; gap: .55rem; margin: .8rem 0; }
.tool-button { padding: .65rem .9rem; border: 1px solid #267b2d; border-radius: 5px; color: #fff; background: #31883a; font: inherit; font-weight: 700; cursor: pointer; }
.tool-button:hover { background: #236d2b; }
.tool-button.secondary { color: #245b2a; background: #fff; }
.tool-button.secondary:hover { background: #eff7ef; }
.tool-check { display: flex; align-items: center; gap: .5rem; margin: 1rem 0; }
.tool-status { min-height: 1.4em; color: #405347; }
@media (max-width: 600px) { main article { padding: 20px 16px; } .data-table th, .data-table td { padding: .55rem; } .tool-actions { align-items: stretch; flex-direction: column; } .tool-button { width: 100%; } }
#unicode-filter.tool-search { width: 100%; padding: .7rem; border: 1px solid #aebbb1; border-radius: 5px; background: #fff; font: inherit; }
