/* Shared site chrome. Namespaced so editorial and article styles stay local. */
body.site-page{margin:0;padding:0;background:var(--paper,#f7f5f0);color:var(--ink,#22201e);font-family:Arial,Helvetica,sans-serif}body.site-page>main{min-height:50vh}
.bransch-shell{font:14px/1.4 Arial,Helvetica,sans-serif;letter-spacing:normal;color:#22201e;color-scheme:light;box-sizing:border-box}
.bransch-shell *{box-sizing:border-box}.bransch-shell [hidden]{display:none!important}
.bransch-shell a{color:inherit;text-decoration:none}.bransch-shell a:hover{text-decoration:underline}
.bransch-shell button,.bransch-shell input{font:inherit;letter-spacing:normal}
.bransch-shell button{cursor:pointer}.bransch-shell :is(a,button,input,summary):focus-visible{outline:2px solid #a93520;outline-offset:4px}
.bransch-shell form{margin:0;padding:0;border:0;background:none}
.shell-width{width:min(1440px,calc(100% - 72px));margin:0 auto}
header.shell-header{display:block;width:100%;max-width:none;margin:0;padding:0;border:0;background:#f7f5f0;position:relative;z-index:30}
.shell-masthead{display:flex;align-items:center;gap:28px;min-height:96px;padding-block:18px}
.bransch-shell .shell-brand{display:flex;align-items:center;gap:10px;flex:none;white-space:nowrap;text-decoration:none;line-height:1.1;color:#191d23}
.shell-brand img{display:block;width:44px;height:44px;object-fit:contain}.shell-brand strong{display:block;font-size:32px;font-weight:800;letter-spacing:-1.5px}.shell-brand small{display:block;margin-top:4px;font-size:12px;font-weight:400;color:#66615b;letter-spacing:0}
.shell-search{position:relative;width:min(410px,38%);margin-left:auto}
.shell-search-field{display:flex;align-items:center;height:44px;border:1px solid #cfcac2;border-radius:5px;padding-left:12px;background:#fcfaf6;gap:8px}
.shell-search-field>span{font-size:26px;line-height:1;color:#66615b}
.bransch-shell .shell-search-field input{width:100%;min-width:0;display:block;margin:0;padding:8px 0;background:transparent;border:0;border-radius:0;outline-offset:0;color:#22201e}
.bransch-shell .shell-search-field button{flex:none;width:38px;margin:0;padding:8px;background:transparent;border:0;border-radius:0;color:#22201e;font-size:19px}
.shell-popover{position:absolute;top:calc(100% + 8px);right:0;z-index:80;width:100%;max-height:65vh;overflow-y:auto;display:block!important;flex-wrap:nowrap;padding:10px;background:#fffdf9;color:#22201e;border:1px solid #d6d0c8;border-radius:5px;box-shadow:0 8px 24px #0002}
.bransch-shell .shell-popover p{margin:2px 8px 7px;font-size:12px;line-height:1.4;color:#66615b}
.bransch-shell .shell-popover a{display:flex;align-items:center;gap:9px;padding:9px 8px;font-size:14px;line-height:1.35;border:0;white-space:normal}
.shell-popover a>span:last-child{margin-left:auto;color:#f44728}.shell-popover a small{display:block;margin-top:2px;color:#66615b;font-size:11px}.shell-popover a i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--shell-dot)}
.bransch-shell .shell-sectors{position:relative;flex:none;margin:0;padding:0;color:#22201e;font-size:14px}
.bransch-shell .shell-sectors summary{display:flex;align-items:center;gap:15px;padding:12px 0;cursor:pointer;list-style:none;margin:0;font-size:14px;font-weight:600;color:inherit}
.shell-sectors summary::-webkit-details-marker{display:none}.shell-sectors .shell-popover{width:270px}
.shell-section{display:flex;gap:24px;align-items:center;border-top:1px solid #dedbd4;border-bottom:1px solid #cfcac2;min-height:64px}
.bransch-shell .shell-sector-name{flex:none;font-weight:800;font-size:21px;letter-spacing:-.5px;border-left:3px solid var(--shell-sector-color);padding-left:10px;line-height:1.2}
.bransch-shell .shell-categories{display:flex;align-items:stretch;gap:22px;flex:1;min-width:0;overflow-x:auto;white-space:nowrap;flex-wrap:nowrap;font-size:14px;color:#22201e;scrollbar-width:thin;padding:0;margin:0}
.bransch-shell .shell-categories a{display:flex;align-items:center;min-height:60px;padding:8px 0;border-bottom:3px solid transparent;font-size:14px;white-space:nowrap;font-weight:500}
.bransch-shell .shell-categories a[aria-current=page]{color:#bc351e;border-color:#f44728;font-weight:700}
.shell-header-skyline{flex:none;align-self:flex-end;width:160px;aspect-ratio:2172/var(--shell-baseline);overflow:hidden}
.shell-header-skyline img{width:100%;height:auto;display:block}
.bransch-shell .shell-general-nav{display:flex;align-items:center;gap:24px;flex-wrap:nowrap;overflow-x:auto;min-height:44px;border-top:1px solid #dedbd4;border-bottom:1px solid #cfcac2;color:#22201e;font-size:14px}
.shell-general-nav a{white-space:nowrap;padding-block:10px}
footer.shell-footer{width:100%;max-width:none;margin:42px 0 0;padding:0;border:0;background:transparent}
.shell-footer-skyline{position:relative;width:min(60%,680px);aspect-ratio:2172/var(--shell-baseline);overflow:hidden;margin:0 0 -1px auto}
.shell-footer-skyline img{display:block;width:100%;height:auto}.shell-footer-skyline>span{position:absolute;inset:0;background:var(--shell-footer-color);mask:var(--shell-image) center top/100% auto no-repeat;-webkit-mask:var(--shell-image) center top/100% auto no-repeat}
.shell-footer-panel{background:var(--shell-footer-color);color:#fff}
.shell-footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:40px;padding-block:28px}
.shell-footer .shell-brand{align-self:start;color:white}.shell-footer .shell-brand img{filter:brightness(0) invert(1)}.shell-footer .shell-brand small{color:white}
.shell-footer nav{display:flex;flex-direction:column;align-items:flex-start;gap:9px;margin:0;padding:0;border:0;color:white;font-size:13px}
.shell-footer h2{font-size:14px;font-weight:700;text-transform:none;letter-spacing:0;color:white;margin:0 0 3px;padding:0;line-height:1.4}
.shell-footer button{color:inherit;background:none;border:0;padding:0;margin:0;font:inherit;text-align:left;border-radius:0}.shell-footer button:hover{text-decoration:underline}
.shell-footer-bottom{padding-block:16px;border-top:1px solid #ffffff55;font-size:12px;color:white}
.shell-footer :is(a,button):focus-visible{outline-color:white}
.shell-sr,.shell-skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shell-skip:focus{position:fixed;z-index:2000;top:8px;left:8px;background:white;color:#222;padding:12px}
.site-page .dashboard-header{margin:16px 12px 0}.site-page #dashboard-data{margin:0 12px}
.site-page.shell-database-index>main{width:min(100% - 40px,900px);margin:30px auto;font:16px/1.6 Arial,sans-serif}
.site-page.shell-database-index{background:#f7f5f0;color:#22201e}
@media(max-width:1100px){.shell-header-skyline{width:130px}.shell-section{gap:18px}.shell-categories{gap:18px}.shell-masthead{gap:20px}.shell-brand strong{font-size:29px}.shell-search{width:340px}}
@media(max-width:800px){.shell-width{width:calc(100% - 40px)}.shell-masthead{gap:14px}.shell-brand strong{font-size:26px}.shell-brand img{width:38px;height:38px}.shell-search{width:280px}.shell-brand small{font-size:11px}.shell-sectors summary{font-size:12px}.shell-footer-grid{gap:24px}}
@media(max-width:700px){.shell-width{width:calc(100% - 36px)}.shell-masthead{flex-wrap:wrap;gap:15px 12px;padding-block:16px;min-height:0}.shell-brand strong{font-size:28px}.shell-brand img{width:40px;height:40px}.shell-search{width:100%;order:2;margin:0}.shell-search-field input{font-size:16px!important}.shell-sectors{margin-left:auto!important}.bransch-shell .shell-sectors summary{font-size:12px;gap:7px}.shell-popover{max-height:55vh}.shell-section{display:grid;grid-template-columns:1fr 115px;gap:0;padding-top:0}.shell-sector-name{margin-block:12px;font-size:19px!important}.shell-header-skyline{grid-column:2;grid-row:1;width:115px}.bransch-shell .shell-categories{grid-column:1/-1;grid-row:2;width:100%;gap:22px}.bransch-shell .shell-categories a{min-height:42px;font-size:13px}.shell-footer-grid{grid-template-columns:1fr 1fr;gap:25px 18px}.shell-footer-grid>.shell-brand{grid-column:1/-1}.shell-footer-skyline{width:90%}.shell-general-nav{gap:18px!important}.shell-header-skyline img{opacity:.8}}
@media(max-width:360px){.shell-brand strong{font-size:25px}.shell-brand small{font-size:10px}.shell-brand img{width:34px;height:34px}.shell-masthead{gap:14px 8px}.shell-sectors summary{gap:4px!important}}
@media print{.shell-header,.shell-footer,.shell-skip{display:none!important}}
/* Long Swedish company names and source URLs must fit narrow article columns. */
.site-page>main{overflow-wrap:anywhere}

/* Dark text keeps small footer labels readable on the supplied orange silhouettes. */
.shell-footer-panel,.shell-footer .shell-brand,.shell-footer .shell-brand small,.shell-footer nav,.shell-footer h2,.shell-footer-bottom{color:var(--shell-footer-ink,#111111)}
.shell-footer :is(a,button):focus-visible{outline-color:var(--shell-footer-ink,#111111)}

/* The all-sector latest page uses the same section label as sector pages. */
.bransch-shell .shell-general-nav-latest{min-height:64px;--shell-sector-color:#f44728}
.bransch-shell .shell-general-nav-latest .shell-sector-name{padding-block:0}

/* Keep sector navigation accents in the same palette as the sector cards. */
.bransch-shell .shell-section .shell-categories a[aria-current=page]{border-color:var(--shell-sector-color);color:#22201e}

/* Retain the drawing's light details while joining the sector-coloured footer. */
.shell-footer-tinted{isolation:isolate}
.shell-footer-tinted img{position:relative;z-index:1;filter:grayscale(1) contrast(3);mix-blend-mode:screen}
.shell-footer-tinted::after{content:"";position:absolute;z-index:2;bottom:0;left:0;right:0;height:1px;background:var(--shell-footer-color)}
