/* Shared page frame and restrained refinements for the blue industry portal. */
:root {
    --page-max: 1280px;
    --page-gutter: 24px;
    --panel-padding: 24px;
    --panel-line: #dce8f7;
    --panel-shadow: 0 8px 28px rgba(27, 74, 128, .045);
    --text-secondary: #5d7392;
}

/* Each page owns one outer gutter; cards own their inner reading space. */
.wrap { width: 100%; max-width: var(--page-max); padding-inline: var(--panel-padding); }
.site-header, .site-main, .site-footer, .topline > .wrap {
    width: calc(100% - var(--page-gutter) * 2);
    max-width: var(--page-max);
    margin-inline: auto;
}
.topline > .wrap { padding-inline: var(--panel-padding); }
.site-main > .wrap { padding-inline: 0; }
.page-home .home-main, .page-listing .site-main > .wrap { padding-inline: var(--panel-padding); }
.site-main > .wrap > .breadcrumb { padding-inline: var(--panel-padding); }
.page-listing .site-main > .wrap > .breadcrumb { padding-inline: 0; }
.page-region-listing .site-main > .wrap > .page-heading,
.page-region-listing .site-main > .wrap > .region-tabs,
.page-standard .site-main > .wrap > .page-heading { padding-inline: var(--panel-padding); }
.site-header { border: 1px solid #e0ebf8; border-radius: 14px 14px 0 0; }
.header-main { min-height: 74px; }
.brand strong { letter-spacing: .025em; }
.nav a { position: relative; transition: color .16s; }
.nav a:hover { color: var(--blue); }
.account .btn { padding: 8px 14px; border-radius: 7px; }
.request-link { padding: 6px 12px; }
.breadcrumb { min-height: 48px; font-size: 11px; color: #7185a0; gap: 10px; }
.breadcrumb a { color: #607da0; }
.breadcrumb a:hover { color: var(--blue); }
.site-footer {
    background: rgba(255, 255, 255, .65);
    border: 1px solid var(--panel-line);
    border-radius: 14px;
    margin-top: 28px;
    padding-top: 30px;
    margin-bottom: 22px;
}
.footer-grid { gap: 48px; padding-bottom: 28px; }
.footer-grid p { line-height: 1.9; color: var(--text-secondary); }
.footer-grid h4 { color: #274568; font-size: 14px; }
.footer-grid a:hover, .footer-bottom a:hover { color: var(--blue); }

/* Crisp surfaces, legible secondary copy, and consistent interaction feedback. */
.btn { border-radius: 7px; font-weight: 600; transition: background .16s, box-shadow .16s, border-color .16s; }
.btn:hover { box-shadow: 0 4px 12px rgba(0, 112, 244, .14); }
.btn.ghost:hover { background: #edf5ff; box-shadow: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible,
textarea:focus-visible, summary:focus-visible {
    outline: 3px solid #98c6ff;
    outline-offset: 3px;
}
.content-card, .tool-card, .form-card, .auth-card, .member-content {
    border-color: var(--panel-line);
    border-radius: 12px;
    box-shadow: var(--panel-shadow);
}
.content-card:hover, .tool-card:hover { border-color: #a9ccfa; box-shadow: 0 8px 22px rgba(28, 96, 170, .085); }
.card-cover img { border-radius: 8px; background: #f3f8ff; }
.card-summary { color: #637996; }
.page-listing .card-body h3, .page-region-listing .card-body h3 { font-size: 14px; line-height: 1.6; }
.page-listing .card-summary, .page-region-listing .card-summary { font-size: 12px; }
.page-heading h1 { line-height: 1.4; letter-spacing: -.025em; }
.count-pill { background: #eaf3ff; color: #3172bb; border: 1px solid #d8e9fd; }
.region-entry { border: 1px solid #dceafa; padding: 15px 18px; font-size: 12px; }
.filter-sidebar { border-radius: 10px; background: #f8fbff; }
.filter-sidebar > a { border-radius: 7px; }
.filter-sidebar > a.selected { background: #e9f3ff; color: #086fe8; font-weight: 600; }
.filters .search-form { border: 1px solid #d8e6f7; border-radius: 9px; min-height: 42px; }
.filters .search-form:focus-within { border-color: #8bbaff; box-shadow: 0 0 0 3px #eaf3ff; }
.filters .search-form input { font-size: 12px; }
.filters .search-form input:focus-visible { outline: none; }
.filter-row { row-gap: 12px; }
.filter-row label { color: #607692; }
.filter-row select, .filter-row input { border-color: #d7e4f5; border-radius: 6px; min-height: 32px; }
.page-region-listing .site-main > .wrap > .filters {
    background: #fff; border: 1px solid var(--panel-line); padding: 18px 20px; border-radius: 12px; margin-bottom: 20px;
}

/* Detail pages: a clear model summary, quiet specification blocks, and readable articles. */
.detail-hero {
    padding: 32px var(--panel-padding);
    gap: 32px;
    border: 1px solid var(--panel-line);
    border-radius: 14px;
    box-shadow: var(--panel-shadow);
    margin-bottom: 22px;
}
.page-product .detail-hero, .page-solution .detail-hero { grid-template-columns: minmax(240px, .85fr) minmax(0, 1.65fr); }
.detail-cover { height: 280px; border: 1px solid #edf3fb; border-radius: 11px; background: #f5f9ff; }
.page-company .detail-cover { height: 190px; }
.detail-intro h1 { font-size: 30px; font-weight: 800; line-height: 1.4; margin: 7px 0 12px; padding-right: 100px; }
.detail-intro > p { font-size: 13px; line-height: 1.9; color: var(--text-secondary); max-width: none; }
.detail-intro .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.tag-row { gap: 7px; margin: 12px 0; }
.tag { padding: 3px 8px; border-radius: 5px; font-size: 11px; color: #3f75b2; }
.tag:hover { background: #ddebff; color: #075fc5; }
.meta { font-size: 11px; color: #71839b; gap: 18px; margin: 14px 0; }
.meta span + span { border-left: 1px solid #dde7f3; padding-left: 18px; }
.detail-specs {
    background: #f7faff; border: 1px solid #e7effa; border-radius: 9px;
    padding: 12px 15px; gap: 9px 24px; margin: 15px 0 18px; font-size: 12px;
}
.detail-specs > span { display: flex; gap: 8px; flex-wrap: wrap; color: #617a9b; }
.detail-specs strong { margin-left: 0; color: #233f62; overflow-wrap: anywhere; }
.action-row { align-items: center; gap: 12px; }
.action-row .btn { min-height: 40px; padding: 10px 23px; }
.action-row label { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; color: #607693; }
input[type=checkbox] { accent-color: var(--blue); width: 15px; height: 15px; }
.favorite-btn { border: 1px solid #dfebfa; background: #f9fcff; border-radius: 7px; padding: 7px 11px; }
.favorite-btn:hover { background: #edf5ff; border-color: #b9d4f7; }
.detail-layout { gap: 22px; grid-template-columns: minmax(0, 1fr) 270px; }
.detail-body { padding: 0 var(--panel-padding) 26px; border-radius: 14px; border-color: var(--panel-line); box-shadow: var(--panel-shadow); }
.detail-body .tabs { gap: 28px; margin-bottom: 22px; background: #fff; top: 76px; }
.detail-body .tabs > a { padding: 17px 0 14px; font-size: 13px; }
.detail-body h2 { font-size: 21px; color: #163456; line-height: 1.5; margin: 20px 0 14px; letter-spacing: -.015em; }
.prose { font-size: 14px; color: #4e6685; line-height: 1.95; }
.prose p { margin-bottom: 16px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.detail-body > section { scroll-margin-top: 28px; padding-bottom: 22px; margin-bottom: 22px; border-bottom-color: #e9eff8; }
.structured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 22px 0 8px; }
.structured-grid:empty { display: none; }
.structured-field { margin: 0; padding: 15px 17px; background: #f7faff; border: 1px solid #e9f0fa; border-radius: 8px; min-width: 0; }
.structured-field.wide { grid-column: 1 / -1; }
.structured-field h3 { font-size: 11px; font-weight: 500; color: #6983a1; margin: 0 0 7px; }
.structured-field p { font-size: 13px; line-height: 1.8; color: #294766; margin: 0; overflow-wrap: anywhere; }
.data-table { border-collapse: separate; border-spacing: 0; border: 1px solid #dce7f5; border-radius: 10px; overflow: hidden; font-size: 13px; }
.data-table th, .data-table td { border: 0; border-bottom: 1px solid #e5edf8; padding: 13px 16px; overflow-wrap: anywhere; }
.data-table tr:last-child > * { border-bottom: 0; }
.data-table th { color: #547296; background: #f3f8ff; }
.detail-body .data-table th { width: 32%; }
.data-table td { color: #264462; }
.data-table tr:nth-child(even) td { background: #fcfdff; }
.related-link { padding: 13px 0; font-size: 13px; gap: 16px; }
.related-link > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.related-link small { color: #6984a4; margin-right: 10px; }
.source-box { padding: 19px 21px; border: 1px solid #dceafa; border-left: 3px solid #83b6fb; border-radius: 9px; background: #f5f9ff; }
.source-box h3 { font-size: 14px; color: #30587f; margin: 0 0 10px; }
.source-box p { font-size: 12px; line-height: 1.9; color: #627c99; overflow-wrap: anywhere; margin: 5px 0; }
.detail-aside { padding: 21px 19px; border-radius: 14px; border-color: var(--panel-line); top: 96px; box-shadow: var(--panel-shadow); }
.detail-aside h3 { font-size: 15px; margin-bottom: 16px; color: #234263; }
.aside-item { padding: 13px 0; gap: 12px; }
.aside-item strong { line-height: 1.65; font-size: 12px; }
.aside-item > img { border: 1px solid #ecf2fa; border-radius: 7px; }
.sidebar-help { border: 1px solid #e0edfd; border-radius: 9px; background: #f1f7ff; padding: 17px 15px; }
.sidebar-help p { line-height: 1.9; color: #6983a1; }
.detail-cta { border: 1px solid #d9e8fc; border-radius: 10px; padding: 23px; background: linear-gradient(110deg, #f2f8ff, #fbfdff); }
.detail-cta h2 { margin-top: 0; }
.faq { border-color: #e1ebf8; border-radius: 8px; }
.faq summary::marker { color: var(--blue); }
.region-intro, .region-card, .region-hero { box-shadow: var(--panel-shadow); }
.region-intro p { color: #526d8b; font-size: 14px; }
.region-tabs a { border-radius: 8px; font-size: 13px; }
.form-card input, .form-card select, .form-card textarea, .auth-card input { border-radius: 7px; border-color: #d9e5f5; }

/* Spacious editorial rhythm within the established blue-and-white frame. */
.page-home .hero > .wrap { padding-top: 18px; padding-bottom: 22px; }
.hero-search { width: 680px; min-height: 50px; border: 1px solid #d6e6fa; border-radius: 10px; box-shadow: 0 5px 18px rgba(42, 102, 168, .07); }
.hero-search input { font-size: 12px; padding-block: 10px; }
.hero-search .btn { min-height: 42px; padding-inline: 30px; border-radius: 7px; }
.hero-search:focus-within { border-color: #80b4f8; box-shadow: 0 0 0 3px rgba(135, 185, 248, .18); }
.hero-search input:focus-visible { outline: none; }
.hero-inner { min-height: 296px; padding: 46px 0 36px; }
.hero h1 { font-size: 38px; font-weight: 800; letter-spacing: -.035em; margin-bottom: 17px; }
.hero-subtitle { font-size: 19px; line-height: 1.8; color: #294d73; }
.hero-metrics { margin-top: 29px; gap: 29px; }
.hero-metrics strong { font-size: 14px; line-height: 1.6; }
.hero-metrics small { font-size: 10px; line-height: 1.8; color: #69839d; }
.hero-visual { top: 13px; right: 0; width: 340px; height: 270px; }
.visual-caption { color: #496c94; letter-spacing: .02em; }
.portal-grid { gap: 11px; }
.portal { min-height: 84px; padding: 18px 11px; border-color: rgba(220, 235, 253, .7); border-radius: 11px; box-shadow: 0 3px 14px rgba(46, 100, 157, .035); }
.portal strong { line-height: 1.8; }
.portal small { color: #7186a0; line-height: 1.7; }
.page-home .home-main { padding-top: 26px; padding-bottom: 24px; }
.home-columns { gap: 30px; }
.home-columns > .section-block { margin-top: 0; margin-bottom: 26px; }
.section-heading { min-height: 34px; margin-bottom: 17px; gap: 14px; }
.section-heading h2 { font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.section-heading h2 > .icon { width: 20px; height: 20px; }
.section-heading .more { color: #7085a0; }
.section-heading .more:hover { color: var(--blue); }
.mini-tabs { gap: 5px; }
.mini-tabs a { padding: 5px 9px; border-radius: 6px; }
.home-resource-grid { gap: 12px; }
.compact-card .card-cover { padding: 8px 8px 0; }
.compact-card .card-cover img { height: 128px; }
.compact-card .card-body { padding: 12px 10px 13px; }
.compact-card .card-body h3 { font-size: 13px; line-height: 1.65; min-height: 43px; }
.section-value { line-height: 1.9; color: #74869e; }
.software-block .home-software-grid > .section-value { grid-column: 1 / -1; margin: 0 0 15px; font-size: 12px; }
.engineering-link { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 5px 13px; min-height: 114px; padding: 22px; border: 1px solid #dceafb; border-radius: 11px; background: linear-gradient(110deg, #eff6ff, #f9fcff); white-space: normal; transition: border-color .16s, background .16s; }
.engineering-link > .icon { grid-column: 1; grid-row: 1 / 3; width: 37px; height: 37px; align-self: center; }
.engineering-link strong { grid-column: 2; grid-row: 1; align-self: end; font-size: 16px; color: #234f7d; }
.engineering-link > span { grid-column: 2; grid-row: 2; align-self: start; font-size: 11px; color: #7087a2; }
.engineering-link b { grid-column: 3; grid-row: 1 / 3; align-self: center; font-size: 11px; margin: 0; }
.engineering-link:hover { border-color: #a4c8f7; background: #edf5ff; }
.article-briefs > a { padding-block: 13px; gap: 12px; }
.article-briefs strong { font-size: 12px; font-weight: 500; }
.article-briefs time { color: #8a9ab0; }
.service-shortcut { border-radius: 10px; min-height: 132px; }
.value-strip { padding: 23px 22px; margin: 2px 0 32px; border-radius: 11px; background: #f5f9ff; }
.value-strip strong { line-height: 1.8; font-size: 13px; }
.lower-section { margin: 32px 0; }
.lower-section + .lower-section { padding-top: 27px; border-top: 1px solid #edf2f9; }
.lower-section .card-body { padding: 16px; }
.lower-section .card-body h3 { font-size: 15px; line-height: 1.6; }
.lower-section .card-summary { line-height: 1.9; }
.page-heading { margin-bottom: 24px; }
.page-heading h1 { font-weight: 700; }
.page-heading > p { line-height: 1.9; color: #6b829c; }
.page-listing .card-body, .page-region-listing .card-body { padding: 15px; }
.region-hero { border-color: #dce8f7; }
.region-card { border-color: #dce8f7; border-radius: 12px; }
.site-footer { background: rgba(255, 255, 255, .8); margin-top: 34px; }

@media (max-width: 1100px) {
    :root { --page-gutter: 20px; --panel-padding: 20px; }
    .nav { gap: 13px; }
    .hero h1 { font-size: 30px; }
    .hero-subtitle { font-size: 16px; }
    .hero-inner { min-height: 278px; }
    .hero-metrics { gap: 18px; }
    .hero-visual { width: 300px; }
    .portal-grid { gap: 8px; }
    .portal { padding-inline: 8px; gap: 7px; }
    .portal-icon { width: 30px; flex-shrink: 0; }
    .portal strong { font-size: 11px; }
    .portal small { font-size: 8px; }
    .home-columns { gap: 22px; }
    .section-heading { gap: 9px; }
    .section-heading h2 { font-size: 17px; }
    .section-heading .more { font-size: 9px; }
    .mini-tabs a { padding: 4px 6px; font-size: 10px; }
    .engineering-link { padding: 17px; grid-template-columns: 32px minmax(0, 1fr); }
    .engineering-link > .icon { width: 29px; height: 29px; }
    .engineering-link strong { font-size: 14px; }
    .engineering-link b { grid-column: 2; grid-row: 3; }
    .detail-cover { height: 266px; }
    .detail-intro h1 { font-size: 25px; }
    .detail-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: 18px; }
    .detail-specs { grid-template-columns: 1fr; }
    .detail-hero { gap: 24px; }
}
@media (min-width: 851px) and (max-width: 1000px) {
    .hero h1 { font-size: 26px; }
    .hero-subtitle { font-size: 15px; }
    .hero-metrics { gap: 12px; }
    .hero-visual { width: 270px; right: -6px; }
    .hero-metrics strong { font-size: 12px; }
    .hero-metrics small { font-size: 9px; }
    .section-heading h2 { font-size: 14px; }
}
@media (max-width: 850px) {
    .header-main { min-height: 66px; }
    .hero h1 { font-size: 28px; }
    .hero-inner { min-height: 262px; padding-top: 35px; }
    .hero-metrics { gap: 22px; }
    .hero-visual { width: 240px; top: 60px; opacity: .2; }
    .portal { min-height: 80px; }
    .home-columns { gap: 0; }
    .section-heading h2 { font-size: 19px; }
    .section-heading .more { font-size: 11px; }
    .engineering-link { grid-template-columns: 42px minmax(0, 1fr) auto; }
    .engineering-link b { grid-column: 3; grid-row: 1 / 3; }
    .detail-hero { padding-block: 26px; }
    .nav { top: 66px; border-radius: 0 0 12px 12px; }
    .detail-layout { grid-template-columns: 1fr; }
    .detail-aside { position: static; }
    .detail-body .tabs { top: 68px; }
    .detail-aside .aside-item { width: 46%; }
    .page-product .detail-hero, .page-solution .detail-hero { grid-template-columns: minmax(200px, .8fr) minmax(0, 1.2fr); }
    .detail-intro h1 { padding-right: 0; }
    .favorite-form { position: static; margin-top: 14px; }
    .footer-grid { gap: 25px; }
}
@media (max-width: 600px) {
    :root { --page-gutter: 12px; --panel-padding: 18px; }
    .site-header { border-radius: 12px 12px 0 0; }
    .page-home .hero > .wrap { padding-top: 14px; padding-bottom: 17px; }
    .hero-search { width: 100%; max-width: 100%; min-height: 46px; border-radius: 8px; }
    .hero-search input { font-size: 10px; padding-block: 8px; }
    .hero-search .btn { min-height: 36px; padding-inline: 19px; }
    .hero-inner { min-height: 260px; padding: 29px 0 25px; }
    .hero h1 { font-size: 26px; line-height: 1.6; margin-bottom: 12px; }
    .hero-subtitle { font-size: 12px; line-height: 1.9; }
    .hero-metrics { margin-top: 23px; gap: 13px 9px; }
    .hero-visual { width: 220px; top: 87px; right: -24px; opacity: .1; }
    .hero-metrics strong { font-size: 11px; }
    .hero-metrics small { font-size: 9px; }
    .portal-grid { gap: 8px; }
    .portal { padding: 13px 10px; min-height: 72px; }
    .portal strong { font-size: 11px; }
    .portal small { font-size: 8px; }
    .page-home .home-main { padding-top: 22px; padding-bottom: 15px; }
    .home-columns > .section-block { margin-bottom: 24px; }
    .section-heading { gap: 9px; margin-bottom: 14px; }
    .section-heading h2 { font-size: 16px; }
    .section-heading .more { font-size: 9px; }
    .mini-tabs { gap: 2px; }
    .mini-tabs a { font-size: 9px; padding: 4px 5px; }
    .home-resource-grid { gap: 11px; }
    .compact-card .card-cover img { height: 114px; }
    .compact-card .card-body { padding: 11px 9px; }
    .compact-card .card-body h3 { font-size: 12px; min-height: 40px; }
    .engineering-link { padding: 19px 16px; grid-template-columns: 32px minmax(0, 1fr); }
    .engineering-link strong { font-size: 14px; }
    .engineering-link b { grid-column: 2; grid-row: 3; font-size: 10px; }
    .article-briefs > a { gap: 8px; padding-block: 12px; }
    .article-briefs strong { font-size: 11px; }
    .service-shortcut { min-height: 115px; }
    .value-strip { padding: 18px; margin: 0 0 24px; }
    .lower-section { margin: 24px 0; }
    .lower-section + .lower-section { padding-top: 23px; }
    .lower-section .card-body { padding: 12px; }
    .lower-section .card-body h3 { font-size: 13px; }
    .page-listing .card-body, .page-region-listing .card-body { padding: 12px; }
    .header-main { min-height: 64px; }
    .nav { top: 64px; }
    .brand strong { font-size: 23px; }
    .brand small { font-size: 8px; }
    .account .btn { font-size: 10px; padding: 7px 9px; }
    .breadcrumb { font-size: 10px; min-height: 44px; padding-block: 13px; }
    .detail-hero { padding: 18px; border-radius: 12px; margin-bottom: 16px; }
    .detail-cover { height: 215px; margin-bottom: 20px; }
    .detail-intro h1 { font-size: 23px; margin-bottom: 10px; }
    .detail-intro > p { font-size: 12px; }
    .detail-specs { grid-template-columns: 1fr; padding: 12px; font-size: 12px; gap: 10px; }
    .meta { font-size: 10px; column-gap: 12px; row-gap: 7px; }
    .meta span + span { padding-left: 12px; }
    .detail-intro .meta { font-size: 10px; }
    .detail-body { padding-inline: 18px; border-radius: 12px; }
    .detail-body .tabs { gap: 24px; top: 66px; margin-bottom: 18px; }
    .detail-body .tabs > a { font-size: 12px; padding-block: 14px; }
    .detail-body h2 { font-size: 19px; }
    .prose { font-size: 13px; }
    .structured-grid { grid-template-columns: 1fr; gap: 10px; }
    .structured-field { padding: 13px 15px; }
    .detail-aside .aside-item { width: 100%; margin-right: 0; }
    .data-table { font-size: 12px; }
    .data-table th, .data-table td { padding: 11px 12px; }
    .detail-body .data-table th { width: 36%; }
    .page-listing .card-body h3, .page-region-listing .card-body h3 { font-size: 12px; }
    .page-listing .card-summary, .page-region-listing .card-summary { font-size: 11px; }
    .page-region-listing .site-main > .wrap > .filters { padding: 14px; }
    .region-tabs { gap: 8px; }
    .region-tabs a { font-size: 12px; padding: 10px 12px; }
    .region-intro p { font-size: 13px; }
    .region-hero { margin-top: 8px; }
    .site-footer { margin-top: 20px; border-radius: 12px; padding-top: 26px; }
    .footer-grid { gap: 24px; }
    .footer-bottom { font-size: 10px; }
    .filter-sidebar { scrollbar-width: thin; scrollbar-color: #b9d2f0 transparent; }
    .filter-sidebar::-webkit-scrollbar { height: 4px; }
    .filter-sidebar::-webkit-scrollbar-thumb { background: #b9d2f0; border-radius: 4px; }
}
@media (max-width: 360px) {
    .header-main { padding-inline: 14px; gap: 6px; }
    .brand { gap: 6px; }
    .brand img { width: 32px; height: 32px; }
    .brand strong { font-size: 21px; }
    .brand small { font-size: 7px; letter-spacing: 0; }
    .account { gap: 6px; }
    .account .btn { font-size: 9px; padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) {
    .btn, .nav a, .content-card, .tool-card { transition: none; }
}
