/* P118 presentation only: approved existing regions and six workbook anchors. */
html [data-p118-work-route="1"] .codex-hub-link::before{content:"作業 " counter(hubstep)}
html .p118-tool-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
html .p118-workbook-tools{grid-column:1/-1;min-width:0;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#f5f8fc}
html .p118-workbook-tools h3{margin:0 0 8px;font-size:18px;line-height:1.5;color:#17375c}
html .p118-sheet-guides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:12px 0;padding:0;list-style:none}
html .p118-sheet-guides li{margin:0;min-width:0}
html .p118-workbook-tools .p118-workbook-caution{margin:12px 0 0;color:#475569;font-size:13px;line-height:1.7}
html .p118-sheet-details{margin-top:12px}
html .p118-english-tools{min-width:0;padding:8px 14px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}
html .p118-sheet-details summary,html .p118-english-tools summary{box-sizing:border-box;display:list-item;min-height:44px;padding:10px 0;color:#17375c;font-size:14px;font-weight:700;line-height:1.7;cursor:pointer}
html .p118-sheet-details summary:focus-visible,html .p118-english-tools summary:focus-visible{outline:3px solid #1260ad;outline-offset:3px}
html .p118-english-links{display:grid;gap:10px;margin:8px 0}
html .p118-tool-grid .p118-tool-link,html .p118-learning-list .p118-learning-link{display:flex;flex-direction:column;align-items:flex-start;gap:7px;min-width:0;min-height:44px;height:auto;padding:16px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#17375c;text-decoration:none;overflow-wrap:anywhere}
html .p118-tool-link strong,html .p118-learning-link strong{font-size:15px;line-height:1.6}
html .p118-tool-link span,html .p118-learning-link span{color:#475569;font-size:13px;line-height:1.7;font-weight:400}
html .p118-tool-link:hover,html .p118-learning-link:hover{background:#f1f6fc;border-color:#42678f}
html .p118-tool-link:focus-visible,html .p118-learning-link:focus-visible{outline:3px solid #1260ad;outline-offset:3px}
html .p118-category-hub .p118-learning-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:decimal;margin:12px 0 0;padding-left:24px}
html .p118-category-hub .p118-learning-list li{min-width:0;padding-left:2px;margin:0}
html .p118-category-hub .p118-learning-topics{list-style:none;padding-left:0}
html .p118-category-hub .p118-learning-count{font-size:13px;line-height:1.65;color:#475569;margin:8px 0}
html body.single-post .article-header .p118-featured-wrap{aspect-ratio:auto!important;height:auto!important;max-height:none!important;overflow:hidden}
html body.single-post .article-header .p118-featured-figure{position:relative;display:flex!important;flex-direction:column;aspect-ratio:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important}
html body.single-post .article-header .p118-featured-figure img{display:block;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important}
html body.single-post .article-header .p118-featured-caption{position:static!important;inset:auto!important;transform:none!important;display:block!important;width:auto!important;height:auto!important;max-height:none!important;margin:0!important;padding:12px 14px!important;clip:auto!important;overflow:visible!important;white-space:normal!important;background:#f4f6fa!important;color:#364152!important;font-size:13px!important;line-height:1.7!important;text-align:left!important;opacity:1!important;visibility:visible!important}
html body.single-post .article-header .p118-featured-category{display:flex;flex-wrap:wrap;gap:6px;padding:10px 14px;background:#f4f6fa}
html body.single-post .article-header .p118-featured-category .cat-label{position:static!important;inset:auto!important;transform:none!important;float:none!important;display:inline-block!important;width:auto!important;height:auto!important;margin:0!important;padding:4px 9px!important;background:#e4edf7!important;color:#183b60!important;font-size:12px!important;line-height:1.6!important}
html .p118-published-label{font-weight:600}
html .p118-card-update{display:block;clear:both;margin:10px 0 0!important;padding-top:8px;border-top:1px solid #dce3eb;color:#475569;font-size:12px!important;line-height:1.65!important;font-weight:400;overflow-wrap:anywhere}
html body.home #list.codex-editorial-grid-v13>.entry-card-wrap:first-child .p118-card-update{color:#c9d6e5!important;border-color:#42607e}
html body.search #list .entry-card .p118-card-update{grid-column:2}
html body.single-post #p118-workbook-guide{scroll-margin-top:160px}
html body.single-post #p118-workbook-guide:focus-visible{outline:3px solid #1260ad;outline-offset:4px}
html body.single-post .p118-workbook-jump a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;text-decoration:underline;text-underline-offset:3px}
html body.single-post .p118-workbook-jump a:focus-visible{outline:3px solid #1260ad;outline-offset:3px}
@media(max-width:767px){html .p118-tool-grid,html .p118-sheet-guides,html .p118-category-hub .p118-learning-list{grid-template-columns:minmax(0,1fr)}html .p118-card-update{font-size:12px!important}}
