/* Shared, lightweight system catalog and detail pages. No global component overrides. */
.swesite-systems, .swesite-system-detail {
	--system-ink: #f1f7fc;
	--system-muted: #b5c8da;
	--system-cyan: #67dced;
	--system-border: #29495f;
	color: var(--system-ink);
	box-sizing: border-box;
}
.swesite-systems *, .swesite-system-detail * { box-sizing: border-box; }
.swesite-systems [hidden] { display: none !important; }
.swesite-systems {
	background: radial-gradient(ellipse at 85% 40%, rgba(13, 106, 141, .1), transparent 60%), linear-gradient(#04111d, #071827 20%, #071827 80%, #04111d);
	padding: clamp(46px, 5vw, 80px) 24px;
	scroll-margin-top: 120px;
	width: 100%;
}
.swesite-systems__inner { max-width: 1480px; margin-inline: auto; }
.swesite-systems__head { max-width: 850px; margin-bottom: 32px; }
body .swesite-systems .swesite-systems__eyebrow,
body.swesite-home-template .swesite-home .swesite-systems .swesite-systems__eyebrow,
.swesite-system-detail .swesite-system-detail__eyebrow { color: var(--system-cyan); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.swesite-systems__head :is(h1, h2) { color: var(--system-ink); font-size: clamp(32px, 3.6vw, 54px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 20px; }
.swesite-systems__head > p:last-child { color: var(--system-muted); font-size: 18px; line-height: 1.7; max-width: 750px; }
.swesite-systems__controls { margin: 0 0 20px; padding: 0; background: none; border: 0; }
.swesite-systems__controls label { display: block; color: var(--system-ink); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
.swesite-systems__search-row { display: flex; gap: 12px; max-width: 780px; }
.swesite-systems input[type="search"] { appearance: none; width: 100%; min-width: 0; height: 56px; margin: 0; border: 1px solid #47738f; border-radius: 14px; background: #0a2032; color: #f1f7fc; padding: 15px 18px; font: inherit; font-size: 16px; }
.swesite-systems input::placeholder { color: #a9c0d3; opacity: 1; }
.swesite-systems__filters { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.swesite-systems button { font: inherit; cursor: pointer; border: 1px solid #355b74; border-radius: 24px; background: #0b2234; color: #d9e9f5; min-height: 44px; padding: 10px 18px; font-size: 14px; font-weight: 650; box-shadow: none; }
.swesite-systems button[aria-pressed="true"] { background: #67dced; color: #04111d; border-color: #67dced; }
.swesite-systems button:hover { border-color: #67dced; }
.swesite-systems__count { font-size: 14px; color: var(--system-muted); margin: 22px 0 16px; }
.swesite-systems__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.swesite-system-card { display: flex; flex-direction: column; min-width: 0; padding: 26px; border: 1px solid var(--system-border); border-radius: 22px; background: linear-gradient(145deg, #0d2538, #081a2a); box-shadow: 0 12px 28px rgba(0, 5, 14, .16); }
.swesite-system-card--featured { border-color: #49b9ca; background: linear-gradient(145deg, #0d303f, #081b2c); }
.swesite-system-card__top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 24px; }
.swesite-system-icon { display: inline-flex; width: 48px; height: 48px; flex-shrink: 0; align-items: center; justify-content: center; border: 1px solid #2a596d; border-radius: 14px; color: #67dced; background: #0d3043; }
.swesite-system-icon svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.swesite-system-status { display: inline-block; border-radius: 20px; padding: 6px 10px; font-size: 11px; line-height: 1.4; font-weight: 700; color: #9becd7; background: #10362f; border: 1px solid #28594f; }
.swesite-system-status--soon { background: #1b2b3c; border-color: #39556d; color: #c7d5e4; }
body .swesite-systems .swesite-system-card__category,
body.swesite-home-template .swesite-home .swesite-systems .swesite-system-card__category { color: #8bdded; font-size: 11px; font-weight: 750; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 12px; }
.swesite-systems .swesite-system-card h3 { color: var(--system-ink); font-size: 23px; line-height: 1.23; font-weight: 750; letter-spacing: -.02em; margin: 0 0 16px; overflow-wrap: anywhere; }
.swesite-system-card__description { color: var(--system-muted); font-size: 15px; line-height: 1.7; margin: 0 0 22px; }
.swesite-system-benefits { list-style: none; padding: 0; margin: 0 0 25px; color: #c2d7e7; font-size: 14px; line-height: 1.6; }
.swesite-system-benefits li { position: relative; padding-left: 22px; margin: 0 0 8px; }
.swesite-system-benefits li::before { content: "✓"; position: absolute; left: 0; color: #62dfbf; font-weight: 800; }
.swesite-system-card__actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid rgba(101, 161, 191, .16); }
.swesite-system-link { color: #8bdded; font-weight: 750; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 9px; min-height: 44px; }
.swesite-system-link:hover { color: #d5faff; text-decoration: underline; }
.swesite-system-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 13px 20px; border-radius: 12px; min-height: 46px; color: #fff; background: linear-gradient(115deg, #086bd2, #085fb7); border: 1px solid #298eda; font-weight: 750; font-size: 14px; line-height: 1.4; text-decoration: none; box-shadow: 0 5px 16px rgba(0, 105, 220, .14); }
.swesite-system-button:hover { background: #0759ad; color: #fff; border-color: #67dced; }
.swesite-system-card--featured .swesite-system-button { background: #67dced; border-color: #67dced; color: #04111d; }
.swesite-systems :is(a, button, input):focus-visible, .swesite-system-detail :is(a, summary):focus-visible { outline: 3px solid #9cefff; outline-offset: 4px; }
.swesite-systems__empty { padding: 38px; border: 1px dashed #47738f; border-radius: 20px; color: var(--system-muted); }
.swesite-systems__empty h3 { color: var(--system-ink); }
body.swesite-system-page { background: #04111d; color: #f1f7fc; }
.swesite-system-page .swesite-header { background: #04111d; box-shadow: none; }
.swesite-system-page .swesite-header-shell { background: #071827; }
.swesite-system-page .swesite-header-action-button { background: #102a3e; color: #eaf6ff; border-color: #29495f; }
.swesite-system-detail { max-width: 1200px; margin: 0 auto; padding: 26px 24px 70px; }
.swesite-system-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; color: #a9c0d3; font-size: 12px; line-height: 1.6; margin-bottom: 38px; }
.swesite-system-breadcrumb a { color: #8bdded; }
.swesite-system-detail__hero { max-width: 990px; padding: 30px 0 52px; background: radial-gradient(ellipse at 75% 45%, rgba(13, 106, 141, .12), transparent 65%); }
.swesite-system-detail__hero > .swesite-system-icon { margin-bottom: 24px; }
.swesite-system-detail__hero h1 { color: #f1f7fc; font-size: clamp(32px, 4.4vw, 64px); line-height: 1.08; letter-spacing: -.035em; margin: 0 0 24px; overflow-wrap: anywhere; }
.swesite-system-detail__intro { font-size: 21px; line-height: 1.6; color: #b5c8da; max-width: 800px; }
.swesite-system-detail__hero .swesite-system-status { margin: 0 20px 14px 0; vertical-align: middle; }
.swesite-system-detail__body > section, .swesite-system-detail__columns { margin: 0 0 52px; }
.swesite-system-detail h2 { color: #f1f7fc; font-size: clamp(25px, 2.7vw, 36px); line-height: 1.2; margin: 0 0 20px; }
.swesite-system-detail__body p { max-width: 900px; color: #b5c8da; font-size: 17px; line-height: 1.8; margin: 0 0 20px; }
.swesite-system-detail__body .swesite-system-detail__audience { color: #e0edf7; font-size: 20px; }
.swesite-system-steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; gap: 20px; list-style: none; }
.swesite-system-steps li { counter-increment: step; color: #c2d7e7; background: #0a2032; border: 1px solid #29495f; padding: 24px; border-radius: 18px; font-size: 16px; line-height: 1.65; }
.swesite-system-steps li::before { content: "0" counter(step); display: block; color: #67dced; font-size: 20px; font-weight: 750; margin-bottom: 12px; }
.swesite-system-detail__columns { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.swesite-system-detail__terms, .swesite-system-detail__next { padding: 30px; border: 1px solid #29495f; border-radius: 22px; background: linear-gradient(130deg, #0c2739, #081a2a); }
.swesite-system-detail__terms p:last-child { margin-bottom: 0; }
.swesite-system-detail__next .swesite-system-link { margin-left: 20px; }
.swesite-system-faq details { border-bottom: 1px solid #29495f; padding: 18px 0; }
.swesite-system-faq summary { color: #e0edf7; cursor: pointer; font-size: 17px; font-weight: 700; line-height: 1.6; }
.swesite-system-faq details p { margin: 16px 0 0; }
@media (min-width: 1700px) { .swesite-systems__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 1100px) { .swesite-systems__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.swesite-systems { padding: 38px 17px; }
	.swesite-systems__grid, .swesite-system-detail__columns, .swesite-system-steps { grid-template-columns: 1fr; }
	.swesite-system-card { padding: 22px; }
	.swesite-systems__head > p:last-child { font-size: 16px; }
	.swesite-systems__search-row { flex-wrap: wrap; }
	.swesite-systems__filters { gap: 8px; }
	.swesite-systems button { padding: 10px 13px; }
	.swesite-system-detail { padding: 20px 18px 40px; }
	.swesite-system-detail__intro { font-size: 18px; }
	.swesite-system-detail__terms, .swesite-system-detail__next { padding: 24px; }
	.swesite-system-detail__next .swesite-system-link { margin-left: 0; display: flex; margin-top: 15px; }
}

/* Homepage showcase only. The /system/ index keeps its full grid and benefits. */
.swesite-systems--carousel {
	background: radial-gradient(ellipse at 85% 40%, rgba(13, 106, 141, .1), transparent 60%), linear-gradient(180deg, #030c18 0, #071827 180px, #071827 80%, #04111d 100%);
	padding-block: 16px clamp(24px, 2.2vw, 34px);
}
.swesite-systems--carousel .swesite-systems__inner { max-width: 1360px; min-width: 0; }
.swesite-systems--carousel .swesite-systems__controls { max-width: 680px; margin: 0 auto 8px; text-align: center; }
.swesite-systems--carousel .swesite-systems__search-row { position: relative; }
.swesite-systems--carousel input[type="search"] { height: 50px; padding-right: 86px; }
.swesite-systems--carousel .swesite-systems__reset { position: absolute; right: 3px; top: 3px; min-height: 44px; padding: 8px 14px; font-size: 14px; }
.swesite-systems--carousel .swesite-systems__filters { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin: 0; gap: 8px; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-behavior: smooth; }
.swesite-systems--carousel .swesite-systems__filters::-webkit-scrollbar { width: 0; height: 0; }
.swesite-systems--carousel .swesite-systems__filters button { flex: 0 0 auto; white-space: nowrap; font-size: 14px; padding: 9px 10px; scroll-snap-align: start; }
.swesite-systems--carousel .swesite-systems__filters button:first-child { margin-left: auto; }
.swesite-systems--carousel .swesite-systems__filters button:last-child { margin-right: auto; }
.swesite-systems--carousel .swesite-systems__filters button:focus-visible { outline-offset: -3px; }
.swesite-system-filter-scroll { position: relative; min-width: 0; margin-top: 12px; }
.swesite-system-filter-scroll::before, .swesite-system-filter-scroll::after { content: ''; position: absolute; z-index: 1; top: 0; bottom: 0; width: 30px; pointer-events: none; opacity: 0; transition: opacity .18s ease; }
.swesite-system-filter-scroll::before { left: 0; background: linear-gradient(90deg, #071827 10%, transparent); }
.swesite-system-filter-scroll::after { right: 0; background: linear-gradient(270deg, #071827 10%, transparent); }
.swesite-system-filter-scroll.has-previous::before, .swesite-system-filter-scroll.has-next::after { opacity: 1; }
.swesite-systems--carousel .swesite-systems__count { margin: 20px 0 12px; font-size: 13px; }
.swesite-systems--carousel .swesite-systems__grid {
	display: flex; gap: 18px; align-items: stretch; overflow-x: auto;
	padding: 8px 6px 18px; scroll-padding-inline: 6px;
	scroll-snap-type: x mandatory; scroll-behavior: smooth;
	/* The separate progress indicator below the track is the only visible scrollbar. */
	overscroll-behavior-x: contain; scrollbar-width: none;
}
.swesite-systems--carousel .swesite-systems__grid::-webkit-scrollbar { width: 0; height: 0; }
.swesite-systems--carousel .swesite-systems__grid:focus-visible { outline: 3px solid #9cefff; outline-offset: 3px; border-radius: 12px; }
.swesite-systems--carousel .swesite-system-card { flex: 0 0 calc((100% - 54px) / 3.15); scroll-snap-align: start; padding: 22px; border-radius: 20px; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.swesite-systems--carousel .swesite-system-card__top { margin-bottom: 16px; gap: 8px; }
.swesite-systems--carousel .swesite-system-icon { width: 42px; height: 42px; border-radius: 12px; }
.swesite-systems--carousel .swesite-system-icon svg { width: 25px; height: 25px; }
body.swesite-home-template .swesite-home .swesite-systems--carousel .swesite-system-card__category { margin-bottom: 8px; }
.swesite-systems--carousel .swesite-system-card h3 { font-size: 22px; margin-bottom: 12px; }
.swesite-systems--carousel .swesite-system-card__description { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }
.swesite-systems--carousel .swesite-system-benefits { font-size: 13px; line-height: 1.55; margin-bottom: 16px; }
.swesite-systems--carousel .swesite-system-benefits li { margin-bottom: 6px; padding-left: 20px; }
.swesite-systems--carousel .swesite-system-card__actions { gap: 10px; padding-top: 14px; }
.swesite-systems--carousel .swesite-system-button { padding: 11px 15px; font-size: 14px; }
.swesite-systems--carousel .swesite-system-card__development { margin: auto 0 22px; padding: 16px; border: 1px dashed #39556d; border-radius: 12px; background: rgba(27, 43, 60, .45); font-size: 14px; }
.swesite-systems--carousel .swesite-system-card__development + .swesite-system-card__actions { margin-top: 0; }
.swesite-systems--carousel .swesite-systems__pagination { display: none; }
.swesite-systems--carousel .swesite-system-pagination__dot { appearance: none; display: grid; place-items: center; width: 18px; min-height: 32px; height: 32px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.swesite-systems--carousel .swesite-system-pagination__dot::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: #426277; box-shadow: 0 0 0 1px rgba(141, 196, 220, .08); transition: width .18s ease, background-color .18s ease, box-shadow .18s ease; }
.swesite-systems--carousel .swesite-system-pagination__dot[aria-current="true"] { width: 26px; }
.swesite-systems--carousel .swesite-system-pagination__dot[aria-current="true"]::before { width: 18px; background: #67dced; box-shadow: 0 0 12px rgba(103, 220, 237, .42); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
	.swesite-systems--carousel .swesite-system-card:hover { transform: translateY(-3px); border-color: #67dced; box-shadow: 0 8px 20px rgba(34, 191, 220, .09); }
}
@media (min-width: 1700px) { .swesite-systems--carousel .swesite-system-card { flex-basis: calc((100% - 54px) / 4); } }
@media (max-width: 1000px) { .swesite-systems--carousel .swesite-system-card { flex-basis: calc((100% - 36px) / 2.1); } }
@media (max-width: 767px) {
	.swesite-systems--carousel { --system-mobile-gutter: 24px; scroll-margin-top: 132px; }
	.swesite-systems--carousel .swesite-system-filter-scroll { margin-inline: calc(var(--system-mobile-gutter) * -1); }
	.swesite-systems--carousel .swesite-systems__filters { padding-inline: var(--system-mobile-gutter) 32px; scroll-padding-inline: var(--system-mobile-gutter); }
	.swesite-systems--carousel .swesite-systems__filters button:first-child { margin-left: 0; }
	.swesite-systems--carousel .swesite-systems__filters button:last-child { margin-right: 0; }
	.swesite-systems--carousel .swesite-systems__grid { margin-inline: calc(var(--system-mobile-gutter) * -1); padding: 8px var(--system-mobile-gutter) 18px; scroll-padding-inline: var(--system-mobile-gutter); gap: 10px; }
	.swesite-systems--carousel .swesite-system-card { flex: 0 0 86vw; scroll-snap-stop: always; }
	.swesite-systems--carousel .swesite-systems__pagination { display: flex; align-items: center; justify-content: center; margin: 0 auto; max-width: 100%; min-height: 32px; overflow-x: auto; scrollbar-width: none; }
	.swesite-systems--carousel .swesite-systems__pagination::-webkit-scrollbar { display: none; }
}
@media (max-width: 600px) {
	.swesite-systems--carousel { --system-mobile-gutter: 17px; padding-inline: 17px; }
	.swesite-systems--carousel .swesite-systems__filters button { font-size: 13px; }
	.swesite-systems--carousel .swesite-system-card { padding: 18px; }
	.swesite-systems--carousel .swesite-system-card h3 { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
	.swesite-systems--carousel .swesite-systems__grid { scroll-behavior: auto; }
	.swesite-systems--carousel .swesite-systems__filters { scroll-behavior: auto; }
	.swesite-systems--carousel .swesite-system-card, .swesite-system-filter-scroll::before, .swesite-system-filter-scroll::after, .swesite-systems--carousel .swesite-system-pagination__dot::before { transition: none; }
}

/* Quote-based entries share the existing cards; detail styles stay on project pages. */
.swesite-system-card--project { border-color: #40627e; }
.swesite-system-card--project .swesite-system-icon { background: #172c47; border-color: #465c85; }
.swesite-system-card--project .swesite-system-status small { display: block; font-size: 10px; font-weight: 500; }
.swesite-system-project { overflow-wrap: anywhere; }
.swesite-system-project :is(#omfattning, #process, #forfragan) { scroll-margin-top: 160px; }
.swesite-system-project__labels { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin: 22px 0; color: #8bdded; font-size: 14px; }
.swesite-system-project__labels .swesite-system-status { margin: 0; }
.swesite-system-project__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.swesite-system-project__capabilities { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.swesite-system-project__capabilities > div { padding: 24px; border: 1px solid #29495f; border-radius: 18px; background: linear-gradient(145deg, #0d2538, #081a2a); }
.swesite-system-project h3 { margin: 0 0 12px; color: #f1f7fc; font-size: 20px; line-height: 1.3; }
.swesite-system-project .swesite-system-project__capabilities p, .swesite-system-project .swesite-system-steps p { font-size: 15px; line-height: 1.7; margin: 0; }
.swesite-system-project__ownership { padding: 32px; border: 1px solid #40627e; border-radius: 22px; background: radial-gradient(at 100% 0, rgba(86, 87, 164, .15), transparent 65%), #0a2032; }
.swesite-system-project__flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; gap: 20px; padding: 0; margin: 28px 0; }
.swesite-system-project__flow li { position: relative; padding: 16px 10px; border-bottom: 2px solid #398497; text-align: center; color: #bceef8; font-weight: 750; }
.swesite-system-project__flow li:not(:last-child)::after { content: '→'; position: absolute; right: -17px; color: #67dced; }
.swesite-system-project .swesite-system-project__note { margin: 20px 0 0; font-size: 14px; color: #a9c0d3; }
.swesite-system-project__related { display: flex; flex-wrap: wrap; gap: 20px 32px; }
.swesite-system-project .swesite-system-button { max-width: 100%; text-align: center; }
@media (max-width: 900px) { .swesite-system-project__capabilities { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
	.swesite-system-project__capabilities { grid-template-columns: 1fr; }
	.swesite-system-project__ownership { padding: 22px; }
	.swesite-system-project__flow { grid-template-columns: 1fr; gap: 14px; }
	.swesite-system-project__flow li:not(:last-child)::after { content: '↓'; right: 50%; bottom: -19px; }
}
.swesite-system-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 7px;margin:10px 0 14px;color:#b9cddd;line-height:1.2}
.swesite-system-price-note{color:#b9cddd;font-size:12px;line-height:1.5;margin:0 0 14px}
.swesite-system-price strong{font-size:clamp(24px,2.1vw,30px);font-weight:800;color:#e8faff;letter-spacing:-.03em}
.swesite-system-price>span{font-size:14px}
.swesite-system-price .swesite-system-price__from{color:#c9eff5;font-weight:700}
.swesite-system-price small{flex-basis:100%;font-size:12px;color:#9cb4c8}
.swesite-system-card:not(.swesite-system-card--project) .swesite-system-status small{display:inline-block;margin-left:6px;padding-left:6px;border-left:1px solid currentColor;font-size:10px}
.swesite-system-detail__hero .swesite-system-price{justify-content:center}
