/* Pen Online reference — subordinate pages only. The homepage stays independent. */
body.pen-subpage {
  --ink: #171717; --dark: #171717; --mid: #555; --gray: #bfbdbd;
  --light: #ededed; --line: #ccc; --tag: transparent; --tag-text: #555;
  --paper: #f7f7f7; --container: 1180px;
  --serif: Georgia, "Times New Roman", "Yu Mincho", "Hiragino Mincho ProN", serif;
  background: var(--paper); color: var(--ink);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px; line-height: 1.9; min-height: 100vh;
}
body.pen-subpage :is(a, button) { transition: color .2s, background-color .2s, opacity .2s; }
body.pen-subpage :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #171717; outline-offset: 4px; }
body.pen-subpage :is(h1, h2, h3) { overflow-wrap: anywhere; }
body.pen-subpage .container { width: min(var(--container), calc(100% - 96px)); }
body.pen-subpage .button { background: var(--ink); color: #fff; border: 1px solid var(--ink); border-radius: 0; min-height: 48px; font-size: .9375rem; font-weight: 400; line-height: 1.6; padding: 12px 24px; }
body.pen-subpage .button.secondary { background: transparent; color: var(--ink); border-color: #777; }
body.pen-subpage .button:hover { opacity: 1; background: #444; color: #fff; }
body.pen-subpage .tag { background: transparent; color: #555; padding: 0; font-size: .8125rem; border-bottom: 1px solid #aaa; }
body.pen-subpage .tags { gap: 6px 12px; }
body.pen-subpage .breadcrumb { color: #686868; width: min(var(--container), calc(100% - 96px)); margin: 0 auto; padding: 16px 0; font-size: .75rem; flex-wrap: wrap; line-height: 1.8; overflow-wrap: anywhere; }

/* The centered masthead follows the homepage; secondary pages keep it compact. */
body.pen-subpage .site-header { color: var(--ink); background: var(--paper); border-bottom: 1px solid #ddd; }
body.pen-subpage .header-top { display: grid; grid-template-columns: 1fr 250px 1fr; align-items: start; gap: 24px; min-height: 112px; max-width: 1480px; padding: 24px 36px 8px; position: relative; }
body.pen-subpage .brand { grid-column: 2; grid-row: 1; width: 250px; margin: 0 auto; }
body.pen-subpage .brand img { width: 100%; filter: brightness(0); }
body.pen-subpage .header-links { grid-column: 1; grid-row: 1; display: flex; flex-wrap: wrap; gap: 8px 22px; padding-top: 8px; font-size: .875rem; }
body.pen-subpage .header-links button { padding: 0; }
body.pen-subpage .header-utilities { grid-column: 3; grid-row: 1; padding-top: 2px; margin: 0; gap: 18px; font-size: .875rem; white-space: normal; }
body.pen-subpage .header-utilities > button.utility-box { display: block; padding: 6px 0; background: none; color: inherit; font-weight: 400; }
body.pen-subpage .header-search { flex: 0 0 40px; width: 40px; height: 40px; margin: 0; }
body.pen-subpage .search-icon { width: 16px; height: 16px; border-width: 1px; }
body.pen-subpage .search-icon::after { height: 1px; width: 7px; right: -5px; bottom: -3px; }
body.pen-subpage .brand-copy { display: block; text-align: center; white-space: normal; padding: 8px 24px 0; }
body.pen-subpage .brand-copy p { margin: 0; font-size: .8125rem; letter-spacing: .06em; }
body.pen-subpage .audiences { justify-content: center; flex-wrap: wrap; gap: 4px 12px; color: #666; margin-top: 4px; }
body.pen-subpage .audiences span { background: none; color: inherit; padding: 0; border-radius: 0; font-weight: 400; font-size: .75rem; }
body.pen-subpage .audiences small { display: inline; font-size: .75rem; }
body.pen-subpage .site-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 24px; max-width: 1360px; margin: auto; background: none; color: inherit; padding: 26px 28px 28px; font-family: var(--serif); font-size: .9375rem; font-weight: 500; line-height: 1.6; }
body.pen-subpage .site-nav a { border: none; padding: 0; }
body.pen-subpage .mobile-menu { display: none; }

/* Page hierarchy: serif section name, original Japanese title, generous leading. */
body.pen-subpage .page-kicker { font-family: var(--serif); font-size: 2.75rem; font-weight: 400; letter-spacing: .045em; line-height: 1.25; margin: 0 0 20px; }
body.pen-subpage .page-kicker::before { content: ""; display: block; width: 36px; height: 2px; margin-bottom: 22px; background: var(--ink); }
body.pen-subpage .listing-main { padding-top: 50px; padding-bottom: 85px; }
body.pen-subpage .listing-main > h1 { font-size: clamp(1.375rem, 2.1vw, 1.875rem); line-height: 1.85; font-family: var(--serif); font-weight: 500; margin-bottom: 46px; max-width: 1000px; }
body.pen-subpage .two-column { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 50px; align-items: start; }
body.pen-subpage .two-column > .sidebar { grid-column: 2; grid-row: 1; min-width: 0; }
body.pen-subpage :is(.listing-content, .article-body) { grid-column: 1; grid-row: 1; min-width: 0; }
body.pen-subpage .sidebar-heading { background: none; color: var(--ink); border-top: 1px solid var(--ink); padding: 17px 0 0; margin-bottom: 22px; font-family: var(--serif); font-size: 1.0625rem; font-weight: 500; line-height: 1.8; }
body.pen-subpage .sidebar-category { margin-bottom: 40px; }
body.pen-subpage .sidebar-category .sidebar-heading { padding: 17px 0; font-size: 1rem; }
body.pen-subpage .category-accordion { border: none; border-bottom: 1px solid var(--line); }
body.pen-subpage .category-accordion summary { background: none; font-size: .9375rem; font-weight: 500; padding: 16px 24px 16px 0; line-height: 1.7; }
body.pen-subpage .category-accordion summary::after { border-width: 1px; right: 6px; top: 24px; width: 7px; height: 7px; }
body.pen-subpage .category-accordion[open] summary::after { top: 27px; }
body.pen-subpage .category-accordion > div { padding: 0 0 12px 12px; }
body.pen-subpage .category-accordion a { font-size: .875rem; font-weight: 400; border-color: #ddd; padding: 9px 0; }
body.pen-subpage .category-accordion a span { font-size: 1.125rem; }
body.pen-subpage .sidebar-cards { gap: 28px; }
body.pen-subpage .side-promo { padding: 24px 14px 0; background: #eee; border: none; margin-top: 32px; }
body.pen-subpage .side-promo p { font-size: .875rem; }
body.pen-subpage .side-promo strong { font-size: 1.25rem; }
body.pen-subpage .side-promo-link { width: calc(100% + 28px); margin-left: -14px; padding: 12px; margin-top: 12px; font-size: .9375rem; }
body.pen-subpage .side-ad { border: none; background: #dedede; color: #555; font-weight: 400; font-size: .875rem; min-height: 112px; }

/* Search and filter controls remain prominent, without dark background panels. */
body.pen-subpage .listing-filter { background: #ededed; padding-bottom: 30px; }
body.pen-subpage .listing-filter .breadcrumb { color: #555; }
body.pen-subpage .filter-selectors { gap: 28px; margin-top: 12px; }
body.pen-subpage .filter-selectors > div { background: none; border-bottom: 1px solid #aaa; min-height: 50px; font-size: .875rem; }
body.pen-subpage .filter-selectors span { padding: 8px 16px 8px 0; background: none; color: #666; }
body.pen-subpage .filter-selectors strong { padding: 8px 0; }
body.pen-subpage .filter-selectors a { color: var(--ink); font-size: .875rem; font-weight: 400; text-decoration: underline; text-underline-offset: 4px; padding-right: 0; }
body.pen-subpage .keyword-form { gap: 0; border-bottom: 1px solid #777; max-width: 760px; }
body.pen-subpage .keyword-form input { background: transparent; border-radius: 0; padding: 16px 0; font-size: 1rem; min-height: 52px; }
body.pen-subpage .keyword-form input::placeholder { color: #717171; }
body.pen-subpage .keyword-form .button { min-width: 76px; border: none; background: transparent; color: var(--ink); font-size: .9375rem; padding-inline: 16px; }
body.pen-subpage .keyword-form .button:hover { background: #ddd; }
body.pen-subpage .listing-tabs { border: none; border-bottom: 1px solid #aaa; gap: 22px; margin-bottom: 26px; }
body.pen-subpage .listing-tabs a { font-size: 1rem; padding: 13px 5px; }
body.pen-subpage .listing-tabs a + a { border: none; }
body.pen-subpage .listing-tabs .active { border-bottom: 2px solid var(--ink); background: none; font-weight: 600; }
body.pen-subpage .genre-intro { border: none; background: #ececec; padding: 26px; gap: 26px; }
body.pen-subpage .genre-intro h2 { font-family: var(--serif); font-size: 1.25rem; margin-bottom: 12px; font-weight: 500; }
body.pen-subpage .genre-intro p { font-size: 1rem; line-height: 1.9; }
body.pen-subpage .genre-intro > .placeholder { flex-basis: 144px; }
body.pen-subpage .result-count { font-size: .8125rem; color: #666; padding: 22px 0; }
body.pen-subpage .pagination { gap: 20px; margin-top: 40px; }
body.pen-subpage .pagination > * { border: none; border-bottom: 1px solid #888; background: transparent; font-size: .9375rem; padding: 10px 18px; min-width: 76px; }
body.pen-subpage .pagination [data-page-number] { font-family: var(--serif); font-size: 1.125rem; border: none; min-width: 50px; }
body.pen-subpage .pagination [data-page-step="1"] { background: transparent; color: var(--ink); }

/* Product rows and editorial cards. */
body.pen-subpage .service-row { border: none; border-bottom: 1px solid #b8b8b8; padding: 12px 0 34px; margin-bottom: 25px; }
body.pen-subpage .service-row h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 10px; }
body.pen-subpage .service-excerpt { font-size: 1rem; font-weight: 400; line-height: 1.8; white-space: normal; overflow: visible; text-overflow: clip; margin-bottom: 22px; }
body.pen-subpage .service-row-body { grid-template-columns: 30% minmax(0, 1fr); gap: 26px; }
body.pen-subpage .service-row-body > a { display: block; }
body.pen-subpage .service-row-body > a > .placeholder { aspect-ratio: 4 / 5; }
body.pen-subpage .info-table { border-collapse: collapse; font-size: 1rem; line-height: 1.85; margin: 26px 0 38px; }
body.pen-subpage .info-table :is(th, td) { border: none; border-block: 1px solid #ccc; padding: 16px 18px; vertical-align: top; }
body.pen-subpage .info-table th { background: #ececec; width: 160px; font-weight: 400; }
body.pen-subpage .info-table.compact { font-size: .875rem; margin: 0; }
body.pen-subpage .info-table.compact th { width: 100px; }
body.pen-subpage .info-table.compact :is(th, td) { padding: 9px 10px; }
body.pen-subpage .info-table .tag { font-size: .8125rem; padding: 0; }
body.pen-subpage .info-table.compact .tag { font-size: .8125rem; padding: 0; }
body.pen-subpage .cards-grid { gap: 40px 24px; }
body.pen-subpage .card-visual { overflow: hidden; }
body.pen-subpage .card-image { aspect-ratio: 4 / 5; }
body.pen-subpage .new-badge { width: auto; height: auto; outline: none; border-radius: 0; top: 14px; left: 10px; font-family: var(--serif); font-size: 1rem; letter-spacing: .08em; font-weight: 400; line-height: 1.4; writing-mode: vertical-rl; background: none; color: #242424; }
body.pen-subpage .service-row > .new-badge { position: static; writing-mode: horizontal-tb; display: inline-block; font-size: .8125rem; margin-bottom: 8px; }
body.pen-subpage .card-meta { color: #666; font-size: .75rem; margin-top: 12px; letter-spacing: .04em; }
body.pen-subpage .content-card h3 { font-size: 1rem; font-weight: 500; line-height: 1.85; margin-top: 7px; }
body.pen-subpage .card-description { font-size: .9375rem; line-height: 1.8; margin-top: 6px; }
body.pen-subpage .content-card .tags { max-height: none; overflow: visible; margin-top: 13px; gap: 5px 10px; }
body.pen-subpage .content-card .tag { font-size: .75rem; padding: 0; }
body.pen-subpage .card-facilities { font-size: .75rem; color: #666; margin-top: 10px; line-height: 1.8; }
body.pen-subpage.article-list .listing-content .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
body.pen-subpage.article-list .content-card h3 { display: block; overflow: visible; -webkit-line-clamp: unset; }
body.pen-subpage.article-list .content-card .tags { flex-wrap: wrap; }
body.pen-subpage.article-list .content-card .tag { white-space: normal; }
body.pen-subpage .sidebar-cards .card-image { aspect-ratio: 4 / 3; }
body.pen-subpage .more-link .button { background: transparent; color: var(--ink); border: none; border-bottom: 1px solid var(--ink); border-radius: 0; min-width: 190px; padding: 12px 0; }
body.pen-subpage .more-link .button:hover { background: #e7e7e7; }

/* Details keep long text readable and make the existing table of contents useful. */
body.pen-subpage .service-main { padding-top: 35px; padding-bottom: 85px; }
body.pen-subpage .detail-heading { margin-bottom: 40px; }
body.pen-subpage .detail-heading h1 { font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.65; }
body.pen-subpage .detail-heading > p:not(.page-kicker) { font-size: .875rem; margin-top: 16px; color: #666; }
body.pen-subpage .detail-heading .page-kicker { font-size: 1.375rem; margin: 0 0 22px; }
body.pen-subpage .detail-heading .tags { margin-top: 24px; }
body.pen-subpage .product-gallery { background: #e9e9e9; padding: 30px 0; margin-bottom: 50px; }
body.pen-subpage .gallery-track { width: 62%; gap: 28px; }
body.pen-subpage .gallery-track > .placeholder { background: var(--gray); aspect-ratio: 16 / 10; }
body.pen-subpage .product-gallery.single { padding: 30px 0; }
body.pen-subpage .product-gallery.single > .placeholder { width: 62%; background: var(--gray); aspect-ratio: 16 / 10; }
body.pen-subpage .product-gallery > .arrow { background: var(--paper); border: 1px solid #aaa; color: var(--ink); width: 44px; height: 48px; top: calc(50% - 24px); bottom: auto; font-family: var(--serif); font-size: 2rem; }
body.pen-subpage .product-gallery > .previous { left: 18px; }
body.pen-subpage .product-gallery > .next { right: 18px; }
body.pen-subpage .detail-columns { display: grid; grid-template-columns: minmax(0, 1fr) 236px; gap: 50px; align-items: start; }
body.pen-subpage .detail-body { min-width: 0; font-size: 1rem; line-height: 2.1; }
body.pen-subpage .detail-body > p { margin: 24px 0 30px; }
body.pen-subpage .section-bar { background: none; color: var(--ink); border-top: 1px solid var(--ink); padding: 22px 0 0; font-family: var(--serif); font-size: 1.625rem; font-weight: 500; line-height: 1.7; margin: 60px 0 28px; scroll-margin-top: 24px; }
body.pen-subpage .section-bar::before { display: none; }
body.pen-subpage .subheading { border: none; padding: 0; font-family: var(--serif); font-size: 1.25rem; font-weight: 600; line-height: 1.85; margin: 34px 0 18px; }
body.pen-subpage .cta-row { gap: 20px; margin: 32px 0 42px; }
body.pen-subpage .cta-row > .button { font-size: .9375rem; min-height: 54px; max-width: 48%; background: var(--ink); border-color: var(--ink); }
body.pen-subpage .cta-row > .secondary { background: transparent; color: var(--ink); border-color: #888; }
body.pen-subpage .detail-sidebar { position: sticky; top: 24px; }
body.pen-subpage .detail-toc { border: none; border-top: 1px solid var(--ink); padding: 20px 0 0; }
body.pen-subpage .detail-toc > strong { font-family: var(--serif); font-weight: 500; font-size: 1.125rem; }
body.pen-subpage .detail-toc nav { margin-top: 10px; }
body.pen-subpage .detail-toc nav :is(a, span) { font-size: .875rem; padding: 11px 0; }
body.pen-subpage .detail-toc .unavailable { color: #767676; }
body.pen-subpage .detail-sidebar > .button { font-size: .875rem; background: var(--ink); border-color: var(--ink); min-height: 52px; }
body.pen-subpage .detail-sidebar > .secondary { background: transparent; color: var(--ink); border-color: #888; }
body.pen-subpage .product-screen { background: var(--gray); aspect-ratio: 16 / 9; margin: 30px 0; }
body.pen-subpage .plain-list { font-size: 1rem; line-height: 2; }
body.pen-subpage .price { color: var(--ink); font-family: var(--serif); font-size: 1.875rem; }
body.pen-subpage .contact-phone { color: var(--ink); font-family: var(--serif); font-size: 1.875rem; }
body.pen-subpage .small-copy { font-size: .875rem; line-height: 1.9; }
body.pen-subpage .flow-list { padding-left: 26px; font-size: 1rem; }
body.pen-subpage .flow-list li { padding-left: 6px; }
body.pen-subpage .flow-list li:not(:last-child)::after { color: #777; margin-block: 16px; }
body.pen-subpage .inquiry-form { margin-top: 34px; }
body.pen-subpage .form-row { grid-template-columns: 150px minmax(0, 1fr); gap: 24px; margin-bottom: 24px; font-size: .9375rem; }
body.pen-subpage .form-row input:not([type=radio]), body.pen-subpage .form-row textarea, body.pen-subpage .form-row select { border: 1px solid #aaa; border-radius: 0; min-height: 48px; padding: 11px 12px; background: #fff; font-size: 1rem; }
body.pen-subpage fieldset.form-row { padding-left: 174px; }
body.pen-subpage .form-row legend { width: 150px; }
body.pen-subpage .radio-options { padding: 16px 18px; border-color: #aaa; background: white; }
body.pen-subpage .radio-options label + label { margin-top: 10px; }
body.pen-subpage .appointment-row { gap: 10px; }
body.pen-subpage .appointment-row > span { font-size: .8125rem; }
body.pen-subpage .appointment-row select { max-width: 156px; }
body.pen-subpage .form-note { font-size: .8125rem; color: #666; }

/* Article pages. */
body.pen-subpage .article-main { padding-top: 35px; padding-bottom: 85px; }
body.pen-subpage .article-main > .page-kicker { font-size: 1.375rem; margin-bottom: 24px; }
body.pen-subpage .article-main > h1 { max-width: 1040px; font-family: var(--serif); font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 500; line-height: 1.75; letter-spacing: .035em; }
body.pen-subpage .article-date { font-size: .8125rem; color: #666; margin: 20px 0 42px; }
body.pen-subpage .article-body { font-size: 1rem; line-height: 2.1; }
body.pen-subpage .article-body > p { margin: 25px 0 32px; }
body.pen-subpage .article-cover { aspect-ratio: 16 / 10; margin-bottom: 32px; }
body.pen-subpage .article-body .section-bar { font-size: 1.5rem; margin-top: 56px; }
body.pen-subpage .article-toc { background: #ededed; padding: 28px 30px 0; margin: 40px 0; }
body.pen-subpage .article-toc h2 { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; }
body.pen-subpage .toc-item { padding: 16px 0; font-size: 1rem; }
body.pen-subpage .toc-item > a { font-weight: 500; }
body.pen-subpage .toc-item > p { margin-top: 8px; font-size: .9375rem; }
body.pen-subpage .toc-toggle { margin: 20px -30px 0; width: calc(100% + 60px); padding: 14px; background: #e1e1e1; font-size: .875rem; }
body.pen-subpage .article-learning { margin-block: 40px; }
body.pen-subpage .article-learning h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
body.pen-subpage .article-learning li { font-size: 1rem; border-color: #ccc; padding: 14px 0; }
body.pen-subpage .article-recommended { background: #ededed; margin-block: 44px; }
body.pen-subpage .article-recommended .sidebar-heading { font-family: var(--serif); font-size: 1.25rem; text-align: left; padding: 22px 24px; margin: 0; }
body.pen-subpage .recommendation-scroll { padding: 0 24px 24px; max-height: 640px; }
body.pen-subpage .recommendation-scroll .service-row { padding-top: 12px; margin-bottom: 24px; }
body.pen-subpage .recommendation-scroll .service-row h3 { font-size: 1.25rem; }
body.pen-subpage .recommendation-scroll .cta-row { margin-bottom: 0; }
body.pen-subpage .recommendation-scroll .cta-row .button { font-size: .875rem; min-height: 46px; }
body.pen-subpage .article-recommended .card-carousel { padding: 0 24px 28px; }
body.pen-subpage .article-recommended .cards-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
body.pen-subpage .article-recommended .card-carousel > .arrow { top: 72px; width: 34px; height: 42px; border: 1px solid #aaa; background: var(--paper); color: var(--ink); font-size: 1.75rem; }
body.pen-subpage .article-recommended .card-carousel > .previous { left: 8px; }
body.pen-subpage .article-recommended .card-carousel > .next { right: 8px; }
body.pen-subpage .check-list { border: none; background: #ededed; padding: 22px 26px; margin-block: 28px; }
body.pen-subpage .check-list li { font-size: 1rem; font-weight: 400; padding: 7px 0 7px 30px; }
body.pen-subpage .check-list li::before { color: #444; }
body.pen-subpage .article-note { background: #ededed; border-radius: 0; border-left: 1px solid #777; padding: 24px; font-size: 1rem; line-height: 1.9; }
body.pen-subpage .inline-articles { border: none; border-block: 1px solid #aaa; padding: 5px 0; }
body.pen-subpage .inline-articles a { padding: 18px 0; font-size: .9375rem; font-weight: 500; }
body.pen-subpage .inline-articles .placeholder { flex-basis: 110px; }
body.pen-subpage .embedded-product { margin-bottom: 40px; padding-bottom: 40px; }
body.pen-subpage .embedded-product > p { font-size: 1rem; }
body.pen-subpage .embedded-product .info-table { font-size: 1rem; }
body.pen-subpage .embedded-product .check-list { background: transparent; padding-inline: 0; }
body.pen-subpage .embedded-product .check-list li { font-size: 1rem; border-color: #ccc; padding-block: 12px; }
body.pen-subpage .embedded-product .more-link .button { background: transparent; border-color: var(--ink); color: var(--ink); font-size: .9375rem; }
body.pen-subpage .author-box { border: none; border-block: 1px solid #bbb; padding: 28px 0; gap: 26px; margin-top: 42px; }
body.pen-subpage .author-box > .placeholder { flex-basis: 23%; }
body.pen-subpage .author-box h3 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; }
body.pen-subpage .author-box p { font-size: .875rem; line-height: 1.9; }
body.pen-subpage .share-box { font-size: .8125rem; gap: 10px; }
body.pen-subpage .share-box button { font-size: .875rem; border: none; border-bottom: 1px solid #777; padding: 10px 18px; }
body.pen-subpage .related-section { margin-top: 55px; padding-top: 45px; border-top: 1px solid #aaa; }
body.pen-subpage .related-section .section-title { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 32px; }
body.pen-subpage .related-section .cards-grid { gap: 28px 22px; }
body.pen-subpage .article-body .related-section .card-image { aspect-ratio: 4 / 5; }

/* Search pages and the review directory. */
body.pen-subpage .search-top { max-width: 980px; padding: 60px 0 95px; }
body.pen-subpage .search-top :is(.page-kicker, h1) { text-align: center; }
body.pen-subpage .search-top .page-kicker::before { margin-inline: auto; }
body.pen-subpage .search-top h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; }
body.pen-subpage .search-choices { margin-top: 48px; gap: 26px; }
body.pen-subpage .search-choices .button { justify-content: space-between; min-height: 112px; padding: 24px 28px; border-radius: 0; border: 1px solid #aaa; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 1.375rem; font-weight: 500; }
body.pen-subpage .search-choices .button span { display: none; }
body.pen-subpage .search-choices .button::after { content: "→"; font-family: var(--serif); font-size: 1.5rem; }
body.pen-subpage .search-choices .button:hover { background: #e7e7e7; }
body.pen-subpage .search-top .keyword-form { margin-top: 42px; }
body.pen-subpage .search-selection .breadcrumb { margin-bottom: 0; }
body.pen-subpage .search-panel { max-width: 1040px; margin-top: 20px; padding: 25px 0 70px; background: transparent; }
body.pen-subpage .search-panel > .page-kicker { text-align: center; }
body.pen-subpage .search-panel > .page-kicker::before { margin-inline: auto; }
body.pen-subpage .search-panel h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; padding-bottom: 40px; }
body.pen-subpage .theme-section { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: 30px; padding: 32px 0; }
body.pen-subpage .theme-section h2 { font-family: var(--serif); font-size: 1.25rem; font-weight: 500; margin: 0; }
body.pen-subpage .theme-section .tags { gap: 12px 16px; align-items: start; }
body.pen-subpage .theme-section .tag { font-size: .9375rem; padding: 5px 0; line-height: 1.8; }
body.pen-subpage .facility-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 36px; }
body.pen-subpage .facility-tags .tag { display: flex; align-items: center; justify-content: center; border: 1px solid #aaa; font-family: var(--serif); font-size: 1.25rem; padding: 28px 12px; min-height: 108px; color: var(--ink); }
body.pen-subpage .facility-tags .tag:hover { background: #e7e7e7; opacity: 1; }
body.pen-subpage .search-results-main { max-width: 1040px; padding-block: 35px 75px; }
body.pen-subpage .search-results-main > h1 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; margin-bottom: 30px; }
body.pen-subpage .search-results-panel { background: transparent; padding: 0; }
body.pen-subpage .search-results-panel .keyword-form input { background: transparent; font-size: 1rem; }
body.pen-subpage .search-results-heading { align-items: center; gap: 24px; margin-top: 36px; padding-bottom: 20px; }
body.pen-subpage .search-results-heading > p { font-size: .875rem; white-space: normal; }
body.pen-subpage .search-results-heading strong { font-family: var(--serif); font-size: 2.25rem; font-weight: 400; }
body.pen-subpage .search-type-filters { font-size: .9375rem; gap: 18px; flex-wrap: wrap; white-space: normal; }
body.pen-subpage .search-type-filters button { padding: 8px 0; border: none; border-bottom: 2px solid transparent; }
body.pen-subpage .search-type-filters [aria-pressed=true] { border-bottom-color: var(--ink); font-weight: 500; }
body.pen-subpage .search-result { padding: 30px 0; }
body.pen-subpage .search-result h2 { font-family: var(--serif); font-size: 1.375rem; font-weight: 500; line-height: 1.8; margin: 10px 0 15px; }
body.pen-subpage .search-result > p:not(.card-meta):not(.card-facilities) { font-size: 1rem; line-height: 1.9; }
body.pen-subpage .search-result :is(.card-meta, .card-facilities) { font-size: .8125rem; }
body.pen-subpage .search-result .tag { font-size: .875rem; }
body.pen-subpage .empty-results { text-align: left; padding: 50px 0; }
body.pen-subpage .mock-directory { max-width: 1040px; padding: 60px 0 85px; }
body.pen-subpage .mock-directory h1 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; }
body.pen-subpage .mock-directory > p:not(.page-kicker) { color: #666; font-size: .875rem; margin-bottom: 38px; }
body.pen-subpage .mock-directory ol { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; border: none; }
body.pen-subpage .mock-directory li a { display: flex; align-items: center; gap: 18px; min-height: 80px; padding: 18px 0; border-bottom: 1px solid #aaa; font-size: 1rem; }
body.pen-subpage .mock-directory li span { font-family: var(--serif); min-width: 52px; font-size: 1.25rem; color: #666; }
body.pen-subpage .mock-directory li a::after { content: "→"; font-family: var(--serif); margin-left: auto; }

/* Supporting bands, footer and notices use the same neutral palette. */
body.pen-subpage .line-band { background: #e4e4e4; color: var(--ink); padding: 64px 0 48px; }
body.pen-subpage .line-grid { gap: 40px; }
body.pen-subpage .doctor-mosaic { min-height: 190px; }
body.pen-subpage .doctor-mosaic i { background: #bfbdbd; }
body.pen-subpage .line-promo { background: none; border: none; padding: 12px 0 0; gap: 18px; }
body.pen-subpage .line-promo p { font-size: 1rem; font-weight: 500; line-height: 1.9; }
body.pen-subpage .line-pill { border-radius: 0; padding: 10px 14px; margin-block: 20px; font-size: .875rem; white-space: normal; }
body.pen-subpage .phone-placeholder { background: #c8c8c8; border-color: #aaa; box-shadow: inset 0 0 0 7px #eee; width: 76px; min-width: 60px; }
body.pen-subpage .line-note { font-size: .75rem; color: #555; margin-top: 28px; }
body.pen-subpage .network-band { background: transparent; padding: 36px 0; }
body.pen-subpage .network-grid { gap: 14px 22px; }
body.pen-subpage .network-link { border: none; border-bottom: 1px solid #bbb; background: transparent; font-family: var(--serif); font-size: 1rem; font-weight: 400; min-height: 66px; }
body.pen-subpage .site-footer { background: #171717; color: white; padding: 50px 36px 28px; }
body.pen-subpage .site-footer nav { gap: 12px 24px; font-size: .875rem; }
body.pen-subpage .site-footer nav a { border: none; padding: 0; }
body.pen-subpage .footer-utilities { margin-top: 24px; gap: 10px 24px; color: #c7c7c7; font-size: .75rem; }
body.pen-subpage .site-footer > p { color: #c7c7c7; font-size: .75rem; margin-top: 36px; }
body.pen-subpage #notice-dialog { border: 1px solid var(--ink); background: var(--paper); }
body.pen-subpage .dialog-content h2 { font-family: var(--serif); font-weight: 500; }

@media (max-width: 1100px) {
  body.pen-subpage .container, body.pen-subpage .breadcrumb { width: calc(100% - 64px); }
  body.pen-subpage .header-top { grid-template-columns: 1fr 230px 1fr; gap: 18px; padding-inline: 24px; }
  body.pen-subpage .brand { width: 230px; }
  body.pen-subpage .header-links { font-size: .8125rem; gap: 6px 16px; }
  body.pen-subpage .header-utilities { font-size: .8125rem; gap: 12px; }
  body.pen-subpage .site-nav { gap: 14px 20px; }
  body.pen-subpage .two-column, body.pen-subpage .detail-columns { grid-template-columns: minmax(0, 1fr) 210px; gap: 32px; }
  body.pen-subpage.article-list .listing-content .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.pen-subpage .service-row-body { grid-template-columns: 28% minmax(0, 1fr); gap: 18px; }
  body.pen-subpage .info-table.compact th { width: 82px; }
  body.pen-subpage .info-table.compact :is(th, td) { padding-inline: 8px; }
  body.pen-subpage .line-grid { gap: 24px; }
}
@media (max-width: 900px) {
  body.pen-subpage .two-column, body.pen-subpage .detail-columns { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  body.pen-subpage .two-column > .sidebar { grid-column: 1; grid-row: 2; width: 100%; }
  body.pen-subpage .listing-content, body.pen-subpage .article-body { grid-column: 1; grid-row: 1; width: 100%; }
  body.pen-subpage .detail-sidebar { position: static; width: 100%; }
  body.pen-subpage .detail-toc { display: block; }
  body.pen-subpage .detail-toc nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  body.pen-subpage .detail-sidebar > .button { max-width: 440px; margin-inline: auto; }
  body.pen-subpage .sidebar-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  body.pen-subpage .side-promo { max-width: 380px; margin-inline: auto; }
  body.pen-subpage .side-ad { width: calc(50% - 12px); display: inline-block; margin-right: 18px; }
  body.pen-subpage .side-ad:nth-of-type(even) { margin-right: 0; }
  body.pen-subpage .category-accordion > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
  body.pen-subpage .line-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  body.pen-subpage .line-promo { padding-top: 0; }
  body.pen-subpage .theme-section { grid-template-columns: 180px minmax(0, 1fr); gap: 24px; }
  body.pen-subpage .search-type-filters { font-size: .875rem; gap: 14px; }
}
@media (max-width: 700px) {
  body.pen-subpage .container, body.pen-subpage .breadcrumb { width: calc(100% - 40px); }
  body.pen-subpage .header-top { grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; min-height: 94px; padding: 17px 18px 8px; gap: 10px; }
  body.pen-subpage .brand { width: min(224px, 100%); }
  body.pen-subpage .header-links { display: none; }
  body.pen-subpage .header-utilities { padding: 0; display: flex; justify-content: flex-end; }
  body.pen-subpage .header-utilities > button.utility-box { display: none; }
  body.pen-subpage .header-search { display: flex; width: 40px; height: 44px; margin: 0; }
  body.pen-subpage .mobile-menu { display: flex; grid-column: 1; grid-row: 1; flex-direction: column-reverse; align-items: center; gap: 2px; color: var(--ink); font-size: .75rem; padding: 0; }
  body.pen-subpage .mobile-menu span { font-size: 1.375rem; line-height: 1; }
  body.pen-subpage .brand-copy { padding: 4px 20px 20px; }
  body.pen-subpage .brand-copy p { font-size: .75rem; line-height: 1.7; letter-spacing: 0; }
  body.pen-subpage .audiences { gap: 3px 10px; }
  body.pen-subpage .audiences small { flex-basis: 100%; }
  body.pen-subpage .site-nav { display: none; margin: 0 20px 20px; padding: 0; border-top: 1px solid #bbb; }
  body.pen-subpage .site-nav.is-open { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  body.pen-subpage .site-nav a { padding: 12px 4px; border-bottom: 1px solid #ddd; font-family: inherit; font-size: .9375rem; }
  body.pen-subpage .breadcrumb { padding-block: 12px; font-size: .75rem; }
  body.pen-subpage .page-kicker { font-size: 2.25rem; margin-bottom: 18px; }
  body.pen-subpage .page-kicker::before { margin-bottom: 18px; }
  body.pen-subpage .listing-main { padding-block: 35px 55px; }
  body.pen-subpage .listing-main > h1 { font-size: 1.375rem; margin-bottom: 30px; }
  body.pen-subpage .listing-filter { padding-bottom: 22px; }
  body.pen-subpage .filter-selectors { grid-template-columns: 1fr; gap: 8px; margin-top: 8px; }
  body.pen-subpage .filter-selectors > div { font-size: .875rem; }
  body.pen-subpage .filter-selectors span { min-width: 76px; justify-content: flex-start; }
  body.pen-subpage .filter-selectors strong { padding-inline: 0; }
  body.pen-subpage .keyword-form { margin-top: 22px; }
  body.pen-subpage .keyword-form input { font-size: 1rem; padding-block: 14px; }
  body.pen-subpage .keyword-form .button { min-width: 58px; padding-inline: 10px; font-size: .875rem; }
  body.pen-subpage .listing-tabs { gap: 16px; margin-bottom: 20px; }
  body.pen-subpage .listing-tabs a { font-size: .9375rem; }
  body.pen-subpage .genre-intro { padding: 20px; gap: 18px; align-items: start; }
  body.pen-subpage .genre-intro > .placeholder { flex-basis: 82px; align-self: start; }
  body.pen-subpage .genre-intro h2 { font-size: 1.125rem; }
  body.pen-subpage .genre-intro p { font-size: .9375rem; }
  body.pen-subpage .service-row { padding-bottom: 26px; margin-bottom: 24px; }
  body.pen-subpage .service-row h3 { font-size: 1.3125rem; }
  body.pen-subpage .service-row-body { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  body.pen-subpage .service-row-body > a { max-width: none; }
  body.pen-subpage .service-row-body > a > .placeholder { aspect-ratio: 16 / 10; }
  body.pen-subpage .service-excerpt { font-size: 1rem; margin-top: 8px; }
  body.pen-subpage .info-table { font-size: .9375rem; }
  body.pen-subpage .info-table th { width: 100px; }
  body.pen-subpage .info-table :is(th, td) { padding: 12px 10px; }
  body.pen-subpage .info-table.compact { font-size: .875rem; }
  body.pen-subpage .info-table.compact th { width: 96px; }
  body.pen-subpage .info-table.compact :is(th, td) { padding: 10px; }
  body.pen-subpage .cards-grid, body.pen-subpage.article-list .listing-content .cards-grid { gap: 32px 18px; }
  body.pen-subpage .content-card h3 { font-size: 1rem; }
  body.pen-subpage .card-description { font-size: .9375rem; }
  body.pen-subpage .sidebar-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  body.pen-subpage .sidebar-cards .content-card h3 { font-size: 1rem; }
  body.pen-subpage .sidebar-cards .card-description { font-size: .9375rem; }
  body.pen-subpage .sidebar-cards :is(.card-meta, .card-facilities, .tag) { font-size: .75rem; }
  body.pen-subpage .category-accordion summary { font-size: 1rem; }
  body.pen-subpage .category-accordion a { font-size: .875rem; }
  body.pen-subpage .side-ad { width: calc(50% - 12px); font-size: .875rem; min-height: 96px; }
  body.pen-subpage .pagination { gap: 12px; }
  body.pen-subpage .pagination > * { padding-inline: 14px; }
  body.pen-subpage .service-main, body.pen-subpage .article-main { padding-block: 24px 55px; }
  body.pen-subpage .detail-heading h1, body.pen-subpage .article-main > h1 { font-size: 1.625rem; line-height: 1.8; letter-spacing: 0; }
  body.pen-subpage .detail-heading { margin-bottom: 30px; }
  body.pen-subpage .product-gallery, body.pen-subpage .product-gallery.single { padding: 20px 0; margin-bottom: 34px; }
  body.pen-subpage .gallery-track { width: 78%; gap: 18px; }
  body.pen-subpage .product-gallery.single > .placeholder { width: 78%; }
  body.pen-subpage .product-gallery > .arrow { top: calc(50% - 22px); width: 36px; height: 44px; font-size: 1.75rem; }
  body.pen-subpage .product-gallery > .previous { left: 4px; }
  body.pen-subpage .product-gallery > .next { right: 4px; }
  body.pen-subpage .detail-body, body.pen-subpage .article-body { font-size: 1rem; line-height: 2; }
  body.pen-subpage .section-bar, body.pen-subpage .article-body .section-bar { margin-top: 42px; padding-top: 20px; margin-bottom: 24px; font-size: 1.375rem; }
  body.pen-subpage .subheading { font-size: 1.1875rem; margin-top: 28px; }
  body.pen-subpage .cta-row { gap: 12px; flex-wrap: wrap; margin: 26px 0 34px; }
  body.pen-subpage .cta-row > .button { max-width: none; flex: 1 1 180px; font-size: .9375rem; padding: 12px; }
  body.pen-subpage .detail-toc nav :is(a, span) { font-size: .875rem; }
  body.pen-subpage .form-row { display: block; font-size: .9375rem; }
  body.pen-subpage .form-row > label, body.pen-subpage .form-row > span { display: block; margin-bottom: 9px; }
  body.pen-subpage fieldset.form-row { padding-left: 0; }
  body.pen-subpage .form-row legend { position: static; width: auto; float: none; margin-bottom: 9px; }
  body.pen-subpage .appointment-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-bottom: 16px; }
  body.pen-subpage .appointment-row > span { grid-column: 1 / -1; }
  body.pen-subpage .appointment-row input { width: 100% !important; min-width: 0; }
  body.pen-subpage .appointment-row select { width: 100%; max-width: none; min-width: 0; }
  body.pen-subpage .article-date { margin-bottom: 30px; }
  body.pen-subpage .article-toc { padding: 24px 20px 0; margin-block: 32px; }
  body.pen-subpage .article-toc h2 { font-size: 1.25rem; }
  body.pen-subpage .toc-item { font-size: 1rem; }
  body.pen-subpage .toc-item > p { font-size: .9375rem; }
  body.pen-subpage .toc-toggle { margin: 16px -20px 0; width: calc(100% + 40px); font-size: .875rem; }
  body.pen-subpage .article-learning li { font-size: 1rem; }
  body.pen-subpage .article-recommended .sidebar-heading { padding: 20px; font-size: 1.125rem; }
  body.pen-subpage .recommendation-scroll { padding: 0 20px 20px; }
  body.pen-subpage .article-recommended .card-carousel { padding: 0 20px 24px; }
  body.pen-subpage .article-recommended .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 16px; }
  body.pen-subpage .article-recommended .content-card h3 { font-size: 1rem; }
  body.pen-subpage .article-recommended .card-description { font-size: .9375rem; }
  body.pen-subpage .article-recommended :is(.card-meta, .card-facilities, .tag) { font-size: .75rem; }
  body.pen-subpage .article-recommended .card-carousel > .arrow { top: 62px; width: 32px; height: 42px; }
  body.pen-subpage .article-recommended .card-carousel > .previous { left: 2px; }
  body.pen-subpage .article-recommended .card-carousel > .next { right: 2px; }
  body.pen-subpage .check-list { padding: 20px; }
  body.pen-subpage .check-list li { font-size: 1rem; }
  body.pen-subpage .article-note { font-size: 1rem; padding: 20px; }
  body.pen-subpage .inline-articles a { font-size: .9375rem; gap: 14px; }
  body.pen-subpage .inline-articles .placeholder { flex-basis: 80px; }
  body.pen-subpage .embedded-product > p, body.pen-subpage .embedded-product .check-list li { font-size: 1rem; }
  body.pen-subpage .embedded-product .info-table { font-size: .9375rem; }
  body.pen-subpage .embedded-product .product-gallery > .arrow { top: calc(50% - 22px); bottom: auto; }
  body.pen-subpage .author-box { gap: 18px; align-items: start; padding-block: 24px; }
  body.pen-subpage .author-box p { font-size: .875rem; }
  body.pen-subpage .related-section .cards-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  body.pen-subpage .related-section .content-card h3 { font-size: 1rem; }
  body.pen-subpage .related-section .card-description { font-size: .9375rem; }
  body.pen-subpage .related-section :is(.card-meta, .card-facilities, .tag) { font-size: .75rem; }
  body.pen-subpage .search-top { padding: 42px 0 65px; }
  body.pen-subpage .search-choices { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
  body.pen-subpage .search-choices .button { min-height: 84px; padding: 22px; font-size: 1.1875rem; }
  body.pen-subpage .search-top .keyword-form { margin-top: 30px; }
  body.pen-subpage .search-panel { margin-block: 8px 30px; padding: 24px 0 35px; }
  body.pen-subpage .search-panel h1 { font-size: 1.375rem; padding-bottom: 28px; }
  body.pen-subpage .theme-section { grid-template-columns: 1fr; gap: 18px; padding-block: 26px; }
  body.pen-subpage .theme-section .tags { gap: 10px 16px; }
  body.pen-subpage .theme-section .tag { font-size: .9375rem; padding: 7px 0; }
  body.pen-subpage .facility-tags { grid-template-columns: 1fr; gap: 16px; padding-top: 28px; }
  body.pen-subpage .facility-tags .tag { min-height: 78px; padding: 22px; font-size: 1.1875rem; }
  body.pen-subpage .search-results-main { padding-block: 24px 55px; }
  body.pen-subpage .search-results-panel { padding: 0; }
  body.pen-subpage .search-results-panel .keyword-form { gap: 0; }
  body.pen-subpage .search-results-panel .keyword-form input { padding-inline: 0; font-size: 1rem; }
  body.pen-subpage .search-results-heading { align-items: start; gap: 16px; margin-top: 28px; }
  body.pen-subpage .search-results-heading > p { font-size: .875rem; }
  body.pen-subpage .search-type-filters { justify-content: start; font-size: .875rem; }
  body.pen-subpage .search-result h2 { font-size: 1.1875rem; }
  body.pen-subpage .search-result > p:not(.card-meta):not(.card-facilities) { font-size: 1rem; }
  body.pen-subpage .mock-directory { padding-block: 40px 60px; }
  body.pen-subpage .mock-directory h1 { font-size: 1.5rem; }
  body.pen-subpage .mock-directory ol { grid-template-columns: 1fr; }
  body.pen-subpage .mock-directory li a { min-height: 76px; gap: 12px; font-size: .9375rem; }
  body.pen-subpage .line-band { padding-block: 42px 32px; }
  body.pen-subpage .doctor-mosaic { min-height: 138px; }
  body.pen-subpage .line-promo p { font-size: .9375rem; }
  body.pen-subpage .line-promo p br { display: none; }
  body.pen-subpage .line-pill { font-size: .8125rem; }
  body.pen-subpage .phone-placeholder { min-width: 48px; width: 62px; }
  body.pen-subpage .network-link { flex-basis: calc((100% - 22px) / 2); font-size: .9375rem; min-height: 54px; padding: 10px 0; }
  body.pen-subpage .site-footer { padding: 36px 22px 24px; }
  body.pen-subpage .site-footer nav { font-size: .8125rem; gap: 12px 18px; }
  body.pen-subpage .footer-utilities { font-size: .75rem; gap: 12px 20px; }
}
@media (max-width: 380px) {
  body.pen-subpage .genre-intro { flex-direction: column; }
  body.pen-subpage .genre-intro > .placeholder { flex-basis: auto; width: 110px; }
  body.pen-subpage .category-accordion > div { grid-template-columns: 1fr; }
  body.pen-subpage .detail-toc nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  body.pen-subpage :is(a, button, .gallery-track) { transition: none; }
}
