/* Engineering portal: clear geometry, readable controls, room to grow. */
:root{--ink:#172e46;--muted:#53667a;--line:#d8e1e8;--paper:#f5f8fa;--teal:#1959a6}
body{background:#fafcfd}
.mark,.button,.language-trigger,.engineering-visual,.quick-search,.quick-picks button,.catalog-filters button,.catalog-item,.product,form,.results,input,select,textarea,.frameworks,.price-card,.annual-panel,.closing,dialog,#language-grid button,.sample-peek,.sample-icon,.store-highlight,.store-pack,.template-preview,.detail-notice,.locale-note,.landing-language select{border-radius:0}
.hero{align-items:start;gap:40px;padding-top:52px;padding-bottom:50px}.hero .engineering-visual{margin-top:0;box-shadow:none;align-self:stretch;min-height:440px}.hero .engineering-visual img{height:100%;min-height:440px;max-height:680px;object-fit:cover}.hero .engineering-visual figcaption{display:none}
.hero h1{font-size:clamp(36px,4.1vw,60px);line-height:1.09}.hero .intro{max-width:590px}.portal-purpose{max-width:610px}.quick-search{box-shadow:none}.sample-peek{box-shadow:none;border-left:3px solid #1c6b68}.principles{border-top:1px solid var(--line);padding:30px 0;gap:36px}.principles h3{font-size:21px}.section{padding:64px 0}.store-highlight{padding:30px 34px}.product-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.product{background:white;min-width:0;padding:28px;border:1px solid var(--line);border-top:3px solid #235e9a;display:flex;flex-direction:column;gap:14px}.product.featured{grid-column:auto;grid-row:auto}.product-label{margin:0;gap:8px;flex-wrap:wrap;align-items:baseline}.product-label>span:first-child{max-width:100%}.product h3{font-size:25px;line-height:1.18;margin:0}.product p{font-size:15px;line-height:1.65;margin:0}.product .pill{background:#e8f1ed;color:#2b6753;font-size:12px;padding:5px 8px;border-radius:0}.product .button{margin-top:auto;align-self:flex-start}.agent-output{font-size:14px!important;color:#546579}.agent-number{font:500 13px/1.5 monospace;letter-spacing:.06em;color:#54748d}.agent-card:nth-child(3n+2){border-top-color:#2d7e78}.agent-card:nth-child(3n){border-top-color:#be8b3c}.product.featured{background:#f0f5fb}.agent-card .agent-open{margin-top:auto}.agent-preview-band{background:#eaf0f5;padding:60px 0}.agent-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:28px;align-items:start}.agent-layout form,.agent-output-panel{padding:28px;background:white;border:1px solid var(--line)}.agent-output-panel{position:sticky;top:20px}.agent-intro{font-size:15px;color:var(--muted);line-height:1.7}.agent-fields{border-top:1px solid var(--line);margin-top:24px;padding-top:8px}.agent-fields legend{font-weight:700;font-size:16px;padding:0 8px}.agent-source{border:1px solid var(--line);padding:18px;margin:18px 0;background:#fafcfd}.agent-source .form-row{gap:12px}.agent-source h4{font-size:16px}.agent-source summary{cursor:pointer;font-size:15px;font-weight:600}.agent-source textarea{font:14px/1.6 inherit}.agent-source .checkbox{font-size:14px;margin:8px 0}.agent-form-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:20px}.agent-form-actions .button{flex:1}.agent-status{padding:15px 18px;border-left:3px solid #b6802d;background:#fff8e9;font-size:14px;line-height:1.6;margin:18px 0}.agent-result-list{padding-inline-start:22px;font-size:14px;line-height:1.7}.agent-output-panel h3{font-size:24px;margin:16px 0}.agent-output-panel h4{font-size:17px;margin:22px 0 10px}.agent-output-panel p{font-size:15px;line-height:1.7}.agent-output-panel .button{margin-top:10px}.agent-snapshot{display:grid;gap:8px;margin:20px 0}.agent-snapshot div{padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}.agent-snapshot strong{display:block;font-size:15px;margin-bottom:5px}.agent-source-remove{background:none;border:0;font-size:14px;color:#85433a;text-decoration:underline;cursor:pointer;padding:8px 0}.discipline-story{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin:42px auto}.discipline-story figure{margin:0;min-width:0}.discipline-story img{width:100%;height:300px;object-fit:cover;display:block}.discipline-story figcaption{font-size:16px;font-weight:600;padding:15px 0;border-bottom:1px solid var(--line)}.standards-source-links{font-size:14px;line-height:1.6;margin:10px 0}.standards-source-links a{margin-inline-end:12px}.agent-card-meta{margin-top:auto;padding-top:10px}.agent-count{display:flex;gap:14px;align-items:center;border-top:1px solid var(--line);padding-top:16px}.agent-count strong{font-size:30px}.agent-count span{font-size:14px;line-height:1.5}.price-card{box-shadow:none}.store-pack{box-shadow:none}.catalog-filters button{min-height:42px}.button{min-height:44px}.workspace-band{background:#f0f5f8}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero{gap:26px;grid-template-columns:1.1fr .9fr}.hero .engineering-visual img{min-height:550px}.agent-layout{grid-template-columns:1fr 1fr}.agent-layout form,.agent-output-panel{padding:22px}.agent-form-actions{flex-direction:column}}
@media(max-width:720px){.hero{grid-template-columns:1fr;padding-top:28px}.hero .engineering-visual{display:block;min-height:0;order:2}.hero .engineering-visual img{height:230px;min-height:0}.product-grid,.agent-layout,.discipline-story{grid-template-columns:1fr}.agent-output-panel{position:static}.product{padding:24px;min-height:0}.product.featured{grid-column:auto}.agent-preview-band{padding:38px 0}.agent-source{padding:14px}.discipline-story img{height:230px}.discipline-story{gap:26px;margin:24px auto}.section{padding:42px 0}.agent-layout form,.agent-output-panel{padding:20px}.hero h1{font-size:38px}}
@media(prefers-reduced-motion:no-preference){.agent-card{transition:border-color .15s,transform .15s}.agent-card:hover{transform:translateY(-3px);border-color:#739bb6}}

/* PMC Pilot — approved brand. */
.pmc-mark{display:block;flex:0 0 44px;width:44px;height:44px;line-height:0;letter-spacing:normal}.pmc-mark svg{display:block;width:100%;height:100%}.pmc-wordmark{font:500 23px/1.1 Manrope,Arial,sans-serif;letter-spacing:-.04em;white-space:nowrap;color:var(--ink)}.pmc-wordmark b{font-weight:750}.brand{flex-shrink:0;gap:12px}.agent-draft-tools{display:flex;gap:10px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:20px}.agent-draft-tools p{flex-basis:100%;font-size:14px;line-height:1.6}.agent-draft-tools .button{font-size:14px;padding:10px 14px}.portal-purpose{font-size:16px;line-height:1.6}.pmc-draft-success{color:#16634e}@media(max-width:720px){.pmc-mark{flex-basis:36px;width:36px;height:36px}.pmc-wordmark{font-size:21px}.agent-draft-tools .button{flex:1 1 150px}}

/* PMC Pilot: balanced rows and predictable page movement. */
.hero .engineering-visual{position:relative;min-height:440px;background:transparent}
.hero .engineering-visual img{position:absolute;inset:0;width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
.agent-output-panel,.results{position:static}
.agent-card{display:grid;grid-row:span 5;grid-template-rows:subgrid;row-gap:14px}
.agent-card .product-label{display:flex;align-items:center;justify-content:space-between;flex-wrap:nowrap;gap:12px}
.agent-card .agent-number{flex:0 0 auto;letter-spacing:.06em}
.agent-card .pill{text-align:end;line-height:1.5}
.agent-card .agent-open{margin-top:0;justify-self:start;align-self:end}
.store-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.store-pack{display:grid;grid-row:span 5;grid-template-rows:subgrid;gap:12px;min-width:0;padding:22px}
.store-pack h3{min-height:0;margin:0;font-size:1.125rem;line-height:1.4}
.store-pack .eyebrow{margin-bottom:0}
.store-pack .pack-price{margin:4px 0;flex-wrap:wrap;gap:6px 12px}
.store-pack .button{align-self:end;margin-top:4px}
.catalog-list{display:flex;flex-wrap:wrap;gap:16px}
.catalog-item{flex:1 1 calc((100% - 32px)/3);min-width:0}
.catalog-status{flex-basis:100%}
.catalog-item,.agent-card,.store-pack{overflow-wrap:anywhere}
.annual-panel{display:block}
.annual-prices{display:grid;grid-template-columns:1fr 1fr;gap:14px 28px}
.agent-layout>* ,.workspace-grid>*{min-width:0}
.agent-source summary{overflow-wrap:anywhere}
.agent-card:hover{transform:none}
button:focus-visible,a:focus-visible,summary:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #1959a6;outline-offset:4px}
.principles>div{min-width:0}
.principles p{font-size:16px;line-height:1.65}
.catalog-purpose,.product p,.store-pack p{font-size:16px}
@media(max-width:1199px){.store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:1050px){.catalog-item{flex-basis:calc((100% - 16px)/2)}}
@media(max-width:720px){
 .hero .engineering-visual{position:relative;min-height:0;aspect-ratio:3/2}
 .hero .engineering-visual img{height:100%;min-height:0;max-height:none}
 .store-grid{grid-template-columns:1fr}
 .agent-card,.agent-card:first-child,.store-pack{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;gap:14px}
 .agent-card:first-child .agent-deliverables{padding-inline-start:0;border:0}
 .agent-card:first-child .agent-card-actions{margin-inline-start:0}
 .catalog-item{flex-basis:100%}
 .annual-prices{grid-template-columns:1fr;gap:4px}
 .discipline-story img{height:auto;aspect-ratio:3/2}
}

.agent-card-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;align-self:end}.agent-card-actions .agent-open{margin:0}.agent-details{font-size:14px;line-height:1.5;text-underline-offset:4px}.workspace-details dt{font-weight:700;margin-top:18px}.workspace-details dd{margin:6px 0 18px;color:var(--muted)}.workspace-page .results h3{margin-top:28px}.workspace-page .results li{margin-bottom:12px}.workspace-sources{border-block:1px solid var(--line)}.related-documents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:24px}.related-document{border:1px solid var(--line);background:white;padding:24px;display:flex;flex-direction:column;gap:18px;text-decoration:none;min-width:0}.related-document strong{font-size:20px;line-height:1.5}.related-document>span:last-child{margin-top:auto;text-decoration:underline;text-underline-offset:4px}.related-document:hover{border-color:var(--teal)}@media(max-width:720px){.related-documents{grid-template-columns:1fr}.agent-card-actions{align-self:stretch}.workspace-page .hero h1{font-size:34px}}
header{flex-wrap:wrap}header nav{flex-wrap:wrap;gap:16px 24px}header .language-trigger,header .landing-language{margin-inline-start:auto}@media(max-width:1050px){header{gap:16px}header nav{order:3;flex-basis:100%;margin:0;justify-content:space-between;gap:12px 20px}}

/* Plain section headings and equal pricing cards. Keep keyboard focus visible. */
.principles>div{display:block}.principles h3,.principles p{grid-column:auto}.agent-card .product-label{justify-content:flex-start}.price-card{border:1px solid var(--line);box-shadow:none;background:#fff}.annual-panel{background:#fff}
/* Long translations must wrap inside the template purchase panels. */
.store-highlight>div{min-width:0}.store-price{min-width:0;max-width:100%}.store-price .button{width:auto;min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* Give connected scripts and combining marks adequate vertical space. */
:is(html[lang="ar"],html[lang="ur"],html[lang="hi"],html[lang="bn"],html[lang="th"]) :is(h1,h2,h3){line-height:1.35;letter-spacing:normal}
:is(html[lang="zh"],html[lang="ja"],html[lang="ko"]) :is(h1,h2,h3){line-height:1.25;letter-spacing:normal}

/* v14: two clear routes; white commercial cards in every language. */
.product-routes{padding-block:4rem;border-block:1px solid var(--line,#dfe6ee)}.route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.5rem}.route-card{padding:2rem;background:white;border:1px solid #dce5ed;display:flex;flex-direction:column;align-items:flex-start;gap:1rem}.route-card h3{font-size:1.65rem;margin:0;line-height:1.3}.route-card p{margin:0;max-width:60ch;line-height:1.65}.route-card p+p{font-size:.92rem;color:#526779;padding-block:.8rem;border-top:1px solid #e2e9ef}.route-card .button{margin-top:auto}.route-symbol{font-size:1.7rem;color:#1d6484}.faq-section h2{margin-bottom:2rem}.faq-list{max-width:940px}.faq-list details{padding:1.3rem 0;border-bottom:1px solid #dce5ed}.faq-list summary{font-size:1.13rem;font-weight:600;cursor:pointer}.faq-list p{line-height:1.7;max-width:78ch;color:#526779;margin-bottom:0}.store-highlight,.store-highlight.company-library{background:#fff;color:#193445;border:1px solid #dce5ed}.store-highlight p,.store-highlight .store-price span{color:#526779}.store-highlight .button{color:#193445;border-color:#dce5ed}.hero h1{font-size:clamp(2.4rem,4.3vw,4.6rem);line-height:1.08}.catalog-title,.catalog-purpose,.agent-output,.route-card{overflow-wrap:anywhere}.content-load-notice{background:#fff7e5;color:#654900;padding:1rem;margin:1rem;border:1px solid #dac78f}.content-load-notice button{margin-inline-start:1rem}.template-reference{font-size:.85rem;color:#667b8b;margin-top:.4rem}.agent-fields [dir]{text-align:start}
@media(max-width:700px){.route-grid{grid-template-columns:1fr}.route-card{padding:1.35rem}.product-routes{padding-block:2.5rem}.hero h1{font-size:2.5rem}.faq-list summary{font-size:1.02rem}}

.document-preview-visual{margin:0;padding:18px;border:1px solid #d8e1e8;background:white;align-self:start}.document-preview-visual a{display:block}.document-preview-visual img{display:block;width:100%;height:auto;max-height:660px;object-fit:contain}.document-preview-visual figcaption{margin-top:10px;font-size:14px;color:#53667a;text-align:center}
/* Long translated headings must not widen a grid track on small screens. */
.hero > *, .workspace-grid > *, .route-grid > * { min-width: 0; }
.hero h1 { overflow-wrap: normal; word-break: normal; hyphens: none; -webkit-hyphens: none; }

/* Complete PM pack v14 */
.pm-complete-pack{border-inline-start:4px solid #1c7179}.pm-complete-pack h3{font-size:1.55rem;line-height:1.3;margin:.4rem 0}.pm-complete-pack .store-file-badge{color:#1c7179}.pm-pack-stages{max-width:960px}.pm-pack-stage{border-bottom:1px solid #dce5ed;padding:1.2rem 0}.pm-pack-stage summary{display:flex;justify-content:space-between;gap:1rem;font-size:1.2rem;font-weight:650;cursor:pointer}.pm-pack-stage p{color:#53667a;line-height:1.65}.pm-pack-stage ul{padding-inline-start:1.4rem}.pm-pack-stage li{padding:.45rem 0;line-height:1.55;overflow-wrap:anywhere}.pm-file-format,.pm-stage-count{font-size:.8rem;white-space:nowrap;color:#526779;margin-inline-start:.8rem}.pm-pack-stage a{text-underline-offset:3px}

.store-choice-guide{max-width:100ch;line-height:1.7;color:#526779;margin:0 0 2rem}.price-card>span{display:block;min-height:3.6em;line-height:1.5;overflow-wrap:anywhere}

/* v15: natural word boundaries in all languages. */
body { hyphens:none; -webkit-hyphens:none; }
.hero h1,.catalog-item,.agent-card,.store-pack,.catalog-title,.catalog-purpose,.agent-output,.route-card,.agent-source summary,.store-price .button,.pm-pack-stage li,.price-card>span {
  hyphens:none; -webkit-hyphens:none; overflow-wrap:normal; word-break:normal;
}
.hero h1 { text-wrap:balance; }
.source-url,.technical-id,input,textarea { overflow-wrap:anywhere; }
@media(max-width:420px){html[lang="de"] .hero h1{font-size:2.1rem}.pm-pack-stage summary{flex-wrap:wrap}}
