/* SWISO Forge 0.20.271 — controlled Forge presentation, release tracker and Document Signing phase. */
body[data-portal="forge"]{--f268-deep:#075f59;--f268-mint:#dff4ed;--f268-aqua:#e5f4f7;--f268-blue:#e8eef9;--f268-lilac:#f0eafa;--f268-line:#b8d5da;}
body[data-portal="forge"] .licensed-product-grid>a{cursor:pointer;text-decoration:none!important;}
body[data-portal="forge"] .licensed-product-grid>a small{color:#496b7b!important;}
body[data-portal="forge"] .licensed-product-grid>a small::before{content:"Open ";font-weight:800;}

/* EA selectors: readable at desktop, two columns at tablet, one at phone. */
body[data-portal="forge"] .r65-ea{display:grid!important;grid-template-columns:repeat(3,minmax(210px,1fr))!important;align-content:start!important;gap:7px 9px!important;max-height:440px!important;overflow:auto!important;padding:10px!important;}
body[data-portal="forge"] .r65-ea>legend{grid-column:1/-1!important;}
body[data-portal="forge"] .r65-ea>label{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;align-items:start!important;gap:8px!important;min-width:0!important;min-height:42px!important;height:auto!important;padding:9px 10px!important;white-space:normal!important;overflow:visible!important;line-height:1.3!important;overflow-wrap:anywhere!important;}
body[data-portal="forge"] .r65-ea>label>input{width:18px!important;height:18px!important;margin:1px 0 0!important;}

/* Folder Indexer: only its own controls, contained in the working card. */
html[data-forge268="folder-indexer"] body[data-portal="forge"] :is(#governanceAssurance195,.governance-assurance195){display:none!important;}
html[data-forge268="folder-indexer"] body[data-portal="forge"] .forge213-index{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;max-width:none!important;overflow:hidden!important;}
html[data-forge268="folder-indexer"] body[data-portal="forge"] .forge213-index :is(form,.forge209-actions,.forge213-actions){display:flex!important;flex-wrap:wrap!important;align-items:end!important;gap:9px!important;max-width:100%!important;}
html[data-forge268="folder-indexer"] body[data-portal="forge"] .forge213-index :is(label,input,button){max-width:100%!important;}

/* Signature Engine: no empty desktop column and no compressed form controls. */
html[data-forge268="signature-engine"] body[data-portal="forge"] #specialWorkspace{display:block!important;max-width:none!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226{width:100%!important;max-width:none!important;box-sizing:border-box!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226 :is(form,.sig226-start){width:100%!important;max-width:none!important;box-sizing:border-box!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-editor{grid-template-columns:minmax(260px,286px) minmax(560px,1fr) 96px!important;gap:14px!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-palette [data-tools] button{min-width:0!important;white-space:normal!important;overflow-wrap:anywhere!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-palette{padding:14px!important;border:1px solid #b9dce0!important;border-top:4px solid #158a91!important;border-radius:14px!important;background:linear-gradient(145deg,rgba(229,247,245,.96),rgba(242,238,252,.92) 52%,rgba(255,244,226,.9))!important;box-shadow:0 10px 28px rgba(18,75,88,.1)!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tools{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:12px!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;padding:10px!important;border:1px solid color-mix(in srgb,var(--sig270-accent) 32%,#cddde2)!important;border-left:4px solid var(--sig270-accent)!important;border-radius:11px!important;background:color-mix(in srgb,var(--sig270-accent) 7%,white)!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group h4{grid-column:1/-1!important;margin:0 0 2px!important;font-size:.78rem!important;line-height:1.2!important;letter-spacing:.035em!important;text-transform:uppercase!important;color:#244d5d!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group-1{--sig270-accent:#168c91}html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group-2{--sig270-accent:#6b78b8}html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group-3{--sig270-accent:#d29048}html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group-4{--sig270-accent:#9a6ab0}html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-group-5{--sig270-accent:#568a6f}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tool{min-height:46px!important;padding:9px 10px!important;border:1px solid color-mix(in srgb,var(--sig270-accent) 36%,#cedde1)!important;border-radius:9px!important;background:rgba(255,255,255,.88)!important;color:#173e51!important;font-weight:750!important;text-align:left!important;box-shadow:0 3px 10px rgba(22,65,78,.06)!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tool:hover,html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tool:focus-visible{background:color-mix(in srgb,var(--sig270-accent) 15%,white)!important;color:#102c35!important;border-color:var(--sig270-accent)!important;}
html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tool[aria-pressed="true"]{background:var(--sig270-accent)!important;color:white!important;border-color:var(--sig270-accent)!important;}

@media(max-width:1050px){
 body[data-portal="forge"] .r65-ea{grid-template-columns:repeat(2,minmax(220px,1fr))!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-editor{grid-template-columns:250px minmax(460px,1fr)!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-page-nav{display:none!important;}
}
@media(max-width:720px){
 body[data-portal="forge"] #moduleView,body[data-portal="forge"] #specialWorkspace{min-width:0!important;max-width:100%!important;overflow-x:hidden!important;}
 body[data-portal="forge"] .r65-ea{grid-template-columns:minmax(0,1fr)!important;max-height:none!important;overflow:visible!important;padding:7px!important;}
 body[data-portal="forge"] .r65-ea>label{min-height:46px!important;}
 html[data-forge268="folder-indexer"] body[data-portal="forge"] .forge213-index :is(form,.forge209-actions,.forge213-actions){display:grid!important;grid-template-columns:minmax(0,1fr)!important;align-items:stretch!important;}
 html[data-forge268="folder-indexer"] body[data-portal="forge"] .forge213-index :is(label,input,button){width:100%!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-editor{display:grid!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226-palette{width:100%!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig270-tools{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226 :is(form,.sig226-start,.forge209-form){display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;}
 html[data-forge268="signature-engine"] body[data-portal="forge"] .sig226 :is(input,textarea,select,button,label){min-width:0!important;max-width:100%!important;box-sizing:border-box!important;}
 body[data-portal="forge"] .licensed-product-grid{grid-template-columns:minmax(0,1fr)!important;}
}
html[data-theme="dark"] body[data-portal="forge"] .r65-ea>label{background:#142d3a!important;border-color:#426775!important;color:#eaf4f5!important;}
html[data-theme="dark"] body[data-portal="forge"] .licensed-product-grid>a small{color:#bed5dc!important;}
html[data-theme="dark"] body[data-portal="forge"] .sig226-palette{background:linear-gradient(145deg,#112c36,#202b43 54%,#392e29)!important;border-color:#3c7280!important;}
html[data-theme="dark"] body[data-portal="forge"] .sig270-group{background:color-mix(in srgb,var(--sig270-accent) 13%,#132a34)!important;border-color:color-mix(in srgb,var(--sig270-accent) 48%,#38505b)!important;}
html[data-theme="dark"] body[data-portal="forge"] .sig270-group h4{color:#e5f3f3!important;}
html[data-theme="dark"] body[data-portal="forge"] .sig270-tool{background:#173441!important;color:#f0f7f7!important;border-color:#416674!important;}
html[data-theme="dark"] body[data-portal="forge"] .sig270-tool:hover,html[data-theme="dark"] body[data-portal="forge"] .sig270-tool:focus-visible{background:color-mix(in srgb,var(--sig270-accent) 26%,#173441)!important;color:white!important;}

/* Overview alignment: the banner and task cards use the same compact, symmetric workspace gutter. */
body[data-portal="forge"] #pageContent>.forge209-overview,
body[data-portal="forge"] #moduleView .forge209-overview{width:100%!important;max-width:none!important;margin:0!important;padding:clamp(8px,1vw,14px)!important;box-sizing:border-box!important;}
body[data-portal="forge"] .forge209-overview>.forge-overview01,
body[data-portal="forge"] .forge209-overview>.forge209-grid{width:100%!important;max-width:none!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box!important;}
body[data-portal="forge"] .forge209-overview>.forge209-grid{margin-top:12px!important;gap:12px!important;}

/* Complete Forge dark surfaces and interaction states without changing other portals. */
html[data-theme="dark"] body[data-portal="forge"]{--f271-bg:#0b1727;--f271-panel:#13283a;--f271-panel-2:#193247;--f271-line:#47697b;--f271-text:#eef6f7;--f271-muted:#bdd0d7;--f271-focus:#72d3ca;background:var(--f271-bg)!important;color:var(--f271-text)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(#pageContent,#moduleView,.forge209-overview){background:var(--f271-bg)!important;color:var(--f271-text)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(.workspace-nav,.view-shell,.view-track,.forge209-overview>.forge209-grid>article,.forge-overview01,.module-heading,.forge209-section,.forge210-step,.forge210-modules,.forge213-index,.forge227-repository,.forge227-pdf,.licensed-products){background:var(--f271-panel)!important;color:var(--f271-text)!important;border-color:var(--f271-line)!important;}
html[data-theme="dark"] body[data-portal="forge"] .forge-overview01{background:linear-gradient(135deg,#153247 0%,#16404a 52%,#26324c 100%)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(.forge209-overview,.forge209-grid,.forge209-grid>article,.forge-overview01,.workspace-nav,.view-track,.sig226,.sig226-palette) :is(h1,h2,h3,h4,strong,label,legend,summary){color:var(--f271-text)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(.forge209-overview,.forge209-grid,.forge-overview01,.workspace-nav,.sig226) :is(p,small,.forge-overview01-kicker,.forge-overview01-tags span){color:var(--f271-muted)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(.workspace-nav,.view-track) button{background:#172f42!important;color:var(--f271-text)!important;border-color:var(--f271-line)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(.workspace-nav,.view-track) button:is(:hover,:focus-visible),html[data-theme="dark"] body[data-portal="forge"] :is(.workspace-nav,.view-track) button[aria-selected="true"],html[data-theme="dark"] body[data-portal="forge"] :is(.workspace-nav,.view-track) button.active{background:#204b56!important;color:#fff!important;border-color:var(--f271-focus)!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(button,input,select,textarea):focus-visible{outline:3px solid color-mix(in srgb,var(--f271-focus) 65%,transparent)!important;outline-offset:2px!important;}
html[data-theme="dark"] body[data-portal="forge"] :is(button,input,select,textarea):disabled{opacity:.58!important;cursor:not-allowed!important;}
html[data-theme="dark"] body[data-portal="forge"] .forge209-grid>article button:not(:disabled){background:#1d4355!important;color:#fff!important;border-color:#5b8797!important;}
html[data-theme="dark"] body[data-portal="forge"] .forge209-grid>article button:not(:disabled):is(:hover,:focus-visible){background:#bfe8df!important;color:#10252b!important;border-color:#72d3ca!important;}

/* Signing palette: gentle watercolour cues, readable controls and restrained selection. */
html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool::before{display:inline-grid;place-items:center;width:1.45rem;height:1.45rem;margin-right:.42rem;border-radius:7px;background:color-mix(in srgb,var(--sig270-accent) 16%,white);color:var(--sig270-accent);font-size:.78rem;font-weight:900;vertical-align:middle;content:"＋";}
html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="signature"]::before{content:"✎"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="initial"]::before{content:"AZ"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="date"]::before{content:"▦"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="name"]::before{content:"○"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="email"]::before{content:"@"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="company"]::before{content:"▥"}html[data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool[data-kind*="text"]::before{content:"T"}
html[data-theme="dark"][data-forge271="signature-engine"] body[data-portal="forge"] .sig270-tool::before{background:color-mix(in srgb,var(--sig270-accent) 28%,#102630);color:#fff;}

/* Installed-release tracker status. */
body[data-portal="forge"] #r65Promotion .news-since271{margin:0 0 12px;padding:10px 12px;border:1px solid #b9dadd;border-left:4px solid #168c91;border-radius:9px;background:#eef9f7;color:#17495a;font-weight:700;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion{background:#102435!important;color:var(--f271-text)!important;border-color:var(--f271-line)!important;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion :is(.promotion-head,.promotion-body,.news-item136){background:#132b3d!important;color:var(--f271-text)!important;border-color:var(--f271-line)!important;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion :is(h2,h3,strong,p,small){color:inherit!important;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion .news-since271{background:#193b42!important;color:#eaf8f6!important;border-color:#4f8e8c!important;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion .news-tabs138 button{background:#183247!important;color:#ecf5f7!important;border-color:#527083!important;}
html[data-theme="dark"] body[data-portal="forge"] #r65Promotion .news-tabs138 button:is(.active,:hover,:focus-visible){background:#287f87!important;color:#fff!important;border-color:#78d4cb!important;}

@media(max-width:720px){body[data-portal="forge"] #pageContent>.forge209-overview,body[data-portal="forge"] #moduleView .forge209-overview{padding:7px!important;}body[data-portal="forge"] .forge209-overview>.forge209-grid{gap:9px!important;}}
