/* Current regulation layout. Loaded only for publisherTemplateVersion 2. */
body.prompt-page .regulation-v2 .regulated-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:auto;gap:28px;align-items:stretch}
body.prompt-page .regulation-v2 .regulated-columns>section{min-height:0;height:auto;min-width:0}
.regulation-v2 ul{padding-left:22px}
.regulation-v2 li{margin-bottom:12px}
.regulation-v2 #prompt-context li>p{margin:6px 0 0}
.regulation-v2 #prompt-context .context-item-body>p{margin:0}
.regulation-v2 #prompt-context .context-item-body>p+p{margin-top:6px}
.regulation-v2 #prompt-benefits>p{margin-top:16px}
.regulation-v2 #prompt-guide{margin-top:0}
body.prompt-page .regulation-v2>#prompt-context{margin:0 0 28px}
body.prompt-page .regulation-v2 #prompt-guide .regulated-points{grid-template-columns:1fr}
.regulation-table-wrap{width:100%;max-width:100%;overflow-x:auto;margin:18px 0 24px}
.regulation-table-wrap table{width:100%;border-collapse:collapse;font-size:16px;line-height:1.45}
.regulation-table-wrap th,.regulation-table-wrap td{border:1px solid #d8dde4;padding:11px 13px;text-align:left;vertical-align:top}
.regulation-table-wrap th{background:#f2f5f8;font-weight:600}
.regulated-faq summary>.faq-question-text{display:block;flex:1 1 auto;min-width:0;overflow-wrap:break-word}
.regulated-faq summary>.icon{flex:0 0 20px;width:20px;height:20px}
@media(max-width:700px){.regulation-v2 .regulated-columns{grid-template-columns:1fr;gap:20px}.regulation-table-wrap table{font-size:14px}.regulation-table-wrap th,.regulation-table-wrap td{padding:8px;min-width:130px}}

/* Prompt layout polish, shared by existing and newly generated v2 pages. */
body.prompt-page:has(.regulation-v2) .prompt-heading .lead,
body.prompt-page:has(.regulation-v2) :is(.regulated-guide,.regulated-details) :is(p,li,td,th,summary){font-size:17px;line-height:1.4}
body.prompt-page:has(.regulation-v2) :is(.regulated-guide,.regulated-details).reading{width:100%;max-width:none;box-sizing:border-box}
body.prompt-page:has(.regulation-v2) .regulated-guide section,
body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation{padding:26px;box-sizing:border-box}
body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation>p{font-size:17px;line-height:1.4}
body.prompt-page:has(.regulation-v2) :is(.regulated-guide section,#prompt-explanation)>:first-child{margin-top:0}
body.prompt-page:has(.regulation-v2) :is(.regulated-guide section,#prompt-explanation)>:last-child{margin-bottom:0}
body.prompt-page .regulation-v2 #prompt-guide .regulated-points{gap:32px}
body.prompt-page .regulation-v2 #prompt-guide .regulated-points>li{margin:0}
body.prompt-page .regulation-v2 #prompt-guide .regulated-points h3{font-size:19px;line-height:1.15}
body.prompt-page .regulation-v2 .regulation-step-number{display:flex;align-items:center;justify-content:center;width:36px;height:36px;box-sizing:border-box;margin-bottom:14px;border:1px solid #dce1e7;border-radius:50%;background:#fff;color:#273347;font-size:16px;line-height:1;font-weight:600;font-variant-numeric:tabular-nums}
body.prompt-page:has(.regulation-v2) .regulation-table-wrap :is(th,td){background:#fff;font-size:17px;line-height:1.4}
body.prompt-page:has(.regulation-v2) .regulation-table-wrap th{background:#e4e8ed;color:#273347}
@media(max-width:760px){
 body.prompt-page:has(.regulation-v2) .workspace,
 body.prompt-page:has(.regulation-v2) .workspace-bar,
 body.prompt-page:has(.regulation-v2) .workspace-body,
 body.prompt-page:has(.regulation-v2) .prompt-text-panel,
 body.prompt-page:has(.regulation-v2) .variables-panel,
 body.prompt-page:has(.regulation-v2) .classification,
 body.prompt-page:has(.regulation-v2) .recommended-tools,
 body.prompt-page:has(.regulation-v2) .workspace-footer{min-width:0;max-width:100%;box-sizing:border-box}
 body.prompt-page:has(.regulation-v2) .workspace-title{white-space:normal;overflow-wrap:anywhere;word-break:break-word}
 body.prompt-page:has(.regulation-v2) .regulation-table-wrap{width:100%;max-width:100%;box-sizing:border-box;overflow-x:auto}
 body.prompt-page:has(.regulation-v2) .prompt-article :is(.regulated-guide.reading,.regulated-details.reading,.banner-section,.prompt-related-content){width:100%;max-width:none;margin-left:0;margin-right:0;padding-left:0;padding-right:0;box-sizing:border-box}
 body.prompt-page .regulation-v2 .regulated-columns{grid-template-columns:1fr;grid-auto-rows:auto;align-items:start;gap:20px}
 body.prompt-page .regulation-v2 .regulated-columns>section{height:auto;min-height:0}
 body.prompt-page:has(.regulation-v2) .regulated-guide section,
 body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation{padding:20px}
 body.prompt-page .regulation-v2 #prompt-guide .regulated-points{grid-template-columns:1fr;gap:28px}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2{display:flex;flex-direction:column;min-height:0;height:auto;padding-bottom:28px;text-align:center}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .subscribe-copy{width:100%;box-sizing:border-box;padding:28px 24px 0;text-align:center;align-items:center}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 :is(h2,.banner-join){text-align:center}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .channel-links{display:flex;flex-direction:column;width:100%;gap:12px}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .channel-links .button{width:100%;flex:none;box-sizing:border-box;justify-content:center}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .banner-art{width:100%;min-height:0;height:auto;margin:22px 0 0;padding:0 24px;box-sizing:border-box}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .banner-art :is(.banner-phone,.banner-flow-arrow,.banner-rays){display:none}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2[data-banner-variant] .banner-art .banner-benefits{position:static;width:100%;height:auto;max-width:none;margin:0;transform:none;translate:none;align-items:center;text-align:center;gap:10px}
 body.prompt-page:has(.regulation-v2) .subscribe.banner-v2 .banner-benefits li{justify-content:center;text-align:center}
}

body.prompt-page .regulation-prose #prompt-guide>p{margin:0 0 16px}
body.prompt-page .regulation-prose #prompt-guide>p:last-child{margin-bottom:0}

/* Keep the result and context icons; the prose guide has no step decoration. */
body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul{list-style:none;padding:0;margin:0}
body.prompt-page .regulation-v2 #prompt-benefits>ul{display:grid;grid-template-columns:minmax(0,1fr);gap:18px}
body.prompt-page .regulation-v2 #prompt-benefits>ul:has(>li:nth-child(3)){grid-template-columns:minmax(0,1fr)}
body.prompt-page .regulation-v2 #prompt-context>ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul>li{position:relative;min-width:0;padding-left:30px;margin:0;overflow-wrap:break-word}
body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul>li:last-child{margin-bottom:0}
body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul>li>strong{display:block;font-size:18px;line-height:1.2}
/* Share the tallest heading track in each row without separating body paragraphs. */
@media(min-width:761px){
 body.prompt-page .regulation-v2 #prompt-context>ul{row-gap:16px}
 body.prompt-page .regulation-v2 #prompt-context>ul>li{display:grid;grid-template-rows:subgrid;grid-row:span 2;align-content:start}
 body.prompt-page .regulation-v2 #prompt-context .context-item-body{padding-bottom:18px}
 body.prompt-page .regulation-v2 #prompt-context>ul>li:nth-last-child(-n+3) .context-item-body{padding-bottom:0}
}
@media(max-width:760px){body.prompt-page .regulation-v2 #prompt-context .context-item-body{margin-top:16px}
body.prompt-page .regulation-v2>#prompt-context{margin:0 0 20px}}
body.prompt-page .regulation-v2 #prompt-context .context-example-label{font-weight:400}
body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul>li::before{content:"";position:absolute;left:0;top:3px;width:19px;height:19px;background:currentColor;mask:center/contain no-repeat var(--point-icon);-webkit-mask:center/contain no-repeat var(--point-icon)}
body.prompt-page .regulation-v2 #prompt-benefits{--point-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")}
body.prompt-page .regulation-v2 #prompt-context{--point-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 4H4v16h4M16 4h4v16h-4'/%3E%3C/svg%3E")}
body.prompt-page .variables-heading>.variables-label{margin:0;font-size:17px;line-height:1.4;font-weight:400}
body.prompt-page:has(.regulation-v2) h3.workspace-title{margin:0;color:inherit;font-weight:400;white-space:normal;overflow-wrap:anywhere}
body.prompt-page:has(.regulation-v2) h3.workspace-title>.icon{flex-shrink:0}
@media(max-width:760px){body.prompt-page .regulation-v2 :is(#prompt-benefits,#prompt-context)>ul,
body.prompt-page .regulation-v2 #prompt-benefits>ul:has(>li:nth-child(3)){grid-template-columns:minmax(0,1fr);gap:18px}}

/* Match the lower description panel to the advertising banner width. */
body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation{width:calc(100% - 64px);max-width:none;margin-left:auto;margin-right:auto}
@media(min-width:761px){body.prompt-page:has(.regulation-v2) .regulated-guide.reading,
body.prompt-page:has(.regulation-v2) .regulated-faq,
body.prompt-page:has(.regulation-v2) .prompt-related-content{width:calc(100% - 64px);max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box}}
@media(max-width:900px){body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation{width:calc(100% - 40px)}}
@media(min-width:761px) and (max-width:900px){body.prompt-page:has(.regulation-v2) :is(.regulated-guide.reading,.regulated-faq,.prompt-related-content){width:calc(100% - 40px)}}
@media(max-width:760px){body.prompt-page:has(.regulation-v2) .regulated-details #prompt-explanation{width:100%}}
