.cat-project { --max: 1240px; }
.cat-project [id] { scroll-margin-top: 100px; }
.cat-project [hidden] { display: none !important; }
.cat-project a:focus-visible, .cat-project button:focus-visible { outline: 3px solid #7c4ecc; outline-offset: 5px; }
.cat-project button { font: inherit; cursor: pointer; }
.cat-skip { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 20px; background: var(--brand); }
.cat-skip:focus { top: 12px; }
.cat-hero { background: #101820; color: #fff; padding: 42px 0 64px; }
.cat-hero-inner { width: min(var(--max), calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: .92fr 1.15fr; gap: 48px; align-items: center; }
.cat-back { display: inline-block; color: #bbcad5; font-size: .9rem; margin-bottom: 30px; }
.cat-product { display: flex; align-items: center; gap: 13px; color: var(--brand); font-weight: 650; margin-bottom: 20px; }
.cat-product img { width: 42px; height: 42px; }
.cat-hero h1 { font-size: clamp(3.3rem, 5.8vw, 5.3rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 24px; }
.cat-hero h1 span { display: block; margin-top: 19px; font-size: clamp(1.9rem, 3.15vw, 2.8rem); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; }
.cat-lead { max-width: 550px; color: #c5d1da; font-size: 1.075rem; }
.cat-hero .hero-actions { gap: 12px; margin-top: 26px; }
.cat-hero .button { min-height: 48px; gap: 15px; padding: 10px 18px; }
.cat-hero .button-secondary { color: #e7efdc; background: transparent; border-color: #64753f; }
.cat-hero .button-secondary:hover { background: #263129; color: #fff; }
.cat-status { display: inline-block; margin: 22px 0 0; color: #d5c4ff; font-size: .875rem; border-left: 3px solid #a77aea; padding-left: 12px; }
.cat-hero-figure { margin: 28px 0 0; border: 1px solid #64707b; border-radius: 10px; overflow: hidden; box-shadow: 0 20px 50px #0003; }
.cat-hero-figure img { width: 100%; height: auto; }
.cat-hero-figure figcaption { display: flex; justify-content: space-between; gap: 16px; padding: 15px 18px; font-size: .875rem; color: #c8d5dd; background: #202b35; }
.cat-hero-figure figcaption span:last-child { white-space: nowrap; color: var(--brand); }
.cat-zoom { display: block; cursor: zoom-in; }
.cat-zoom:hover { opacity: .94; }
.cat-facts { width: min(var(--max), calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.cat-facts > div { padding: 28px 24px 28px 0; }
.cat-facts strong, .cat-facts span { display: block; }
.cat-facts strong { font-size: 1.2rem; margin-bottom: 5px; }.cat-facts span { color: var(--muted); font-size: .95rem; }
.cat-project h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); line-height: 1.09; letter-spacing: -.025em; }
.cat-project .section-heading > p:last-child:not(.eyebrow) { font-size: 1.1rem; color: var(--muted); }
.cat-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.cat-tabs button { min-height: 46px; padding: 11px 19px; border: 1px solid #d9dfe2; border-radius: 6px; background: #fff; font-weight: 700; color: #3c4851; }
.cat-tabs button:hover { background: #f1f7e7; }
.cat-tabs button[aria-selected="true"] { color: #101820; border-color: #a8cb45; background: var(--brand); }
.cat-module { display: grid; grid-template-columns: .78fr 1.22fr; gap: 48px; align-items: center; padding: 15px 0 30px; }
.cat-module + .cat-module { margin-top: 30px; }
.cat-tabs:not([hidden]) + .cat-panels .cat-module { margin-top: 0; }
.cat-kicker { color: var(--brand-strong); font-size: .875rem; font-weight: 750; margin-bottom: 20px; }
.cat-module h3 { font-size: clamp(1.8rem, 2.5vw, 2.4rem); line-height: 1.12; letter-spacing: -.02em; margin-bottom: 20px; }
.cat-module-copy > p:not(.cat-kicker), .cat-module ul { color: var(--muted); }
.cat-module ul { padding-left: 21px; margin: 22px 0; }.cat-module li { padding-left: 3px; margin-bottom: 9px; }.cat-module li::marker { color: #6c43ad; }
.cat-module .cat-use { border-left: 3px solid var(--brand); padding-left: 15px; color: #263c45; font-weight: 600; }
.cat-module figure { margin: 0; min-width: 0; }
.cat-module figure img { width: 100%; height: auto; border: 1px solid #d8e0e4; border-radius: 8px; }
.cat-module figcaption { color: var(--muted); font-size: .875rem; margin-top: 12px; }
.cat-caption { color: var(--muted); font-size: .875rem; margin: 25px 0 0; }
.cat-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.cat-benefits article { border-top: 2px solid #101820; padding-top: 24px; }
.cat-benefits .cat-kicker { display: block; }.cat-benefits h3 { font-size: 1.4rem; line-height: 1.25; }.cat-benefits p { color: var(--muted); margin-bottom: 0; }
.cat-usage { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.cat-usage > div > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.cat-requirements { margin: 8px 0 0; }.cat-requirements div { padding: 22px 0; border-bottom: 1px solid var(--line); }.cat-requirements div:first-child { border-top: 1px solid var(--line); }
.cat-requirements dt { font-size: 1.1rem; font-weight: 750; margin-bottom: 7px; }.cat-requirements dd { margin: 0; color: var(--muted); }
.cat-contact .contact-copy > p:last-child { color: #d3dbca; max-width: 670px; margin-bottom: 0; }.cat-contact .contact-box p:last-child { font-size: .9rem; }.cat-contact a { overflow-wrap: anywhere; }
.cat-lightbox { width: min(1400px, 96vw); max-width: 96vw; max-height: 96vh; padding: 16px; border: 1px solid #52616b; border-radius: 10px; background: #101820; color: #fff; }
.cat-lightbox::backdrop { background: #080f17d9; }.cat-lightbox-bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 2px 4px 16px; }
.cat-project .cat-lightbox h2 { margin: 0; font-size: 1.05rem; letter-spacing: 0; }.cat-lightbox button { min-height: 44px; padding: 8px 15px; border: 1px solid #617843; border-radius: 5px; background: #263522; color: #e4f6cb; white-space: nowrap; }
.cat-lightbox > img { width: 100%; max-height: calc(96vh - 105px); object-fit: contain; }
/* Entry on the existing dienel.net home page. */
.cat-home-project { width: min(var(--max), calc(100% - 32px)); margin: 26px auto 0; padding: 38px 42px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 45px; align-items: center; background: #f3f0fa; border: 1px solid #d9cee9; border-radius: var(--radius); }
.cat-home-project h2 { font-size: clamp(2rem, 4vw, 3.6rem); }.cat-home-project .eyebrow { color: #6942a0; }.cat-home-project p { color: #525666; }.cat-home-project .button { min-height: 48px; padding: 10px 18px; }.cat-home-project .cat-home-status { font-size: .875rem; margin: 16px 0 0; }
.cat-home-visual { display: block; }.cat-home-visual img { width: 100%; height: auto; border: 1px solid #ccd8de; border-radius: 6px; }
@media(max-width: 1100px) { .cat-hero-inner { gap: 30px; grid-template-columns: 1fr 1fr; }.cat-hero-figure figcaption { flex-wrap: wrap; gap: 5px; }.cat-module { gap: 32px; grid-template-columns: .9fr 1.1fr; }.cat-usage { gap: 50px; }.cat-project .nav-links { flex-wrap: wrap; gap: 14px; } }
@media(max-width: 760px) {
 .cat-hero { padding: 24px 0 38px; }.cat-hero-inner { grid-template-columns: minmax(0, 1fr); gap: 8px; }.cat-back { margin-bottom: 24px; }.cat-hero h1 { font-size: clamp(3.3rem, 12vw, 4.8rem); }.cat-lead { max-width: none; }.cat-hero-figure { margin-top: 22px; }
 .cat-facts { grid-template-columns: 1fr; }.cat-facts > div { padding: 18px 0; border-bottom: 1px solid var(--line); }.cat-facts > div:last-child { border-bottom: 0; }.cat-facts strong { margin-bottom: 2px; }
 .cat-project .section { padding-top: 55px; padding-bottom: 55px; }.cat-tabs { gap: 8px; }.cat-tabs button { flex: 1 1 auto; padding: 10px 14px; }
 .cat-module, .cat-benefits, .cat-usage { grid-template-columns: minmax(0, 1fr); gap: 30px; }.cat-module { padding-top: 0; }.cat-module h3 br { display: none; }.cat-benefits { gap: 32px; }.cat-usage { gap: 20px; }
 .cat-project .site-footer { flex-wrap: wrap; padding: 20px 0; }.cat-project .site-footer div { flex-wrap: wrap; gap: 12px 18px; }
 .cat-lightbox-bar { gap: 14px; align-items: flex-start; }.cat-project .cat-lightbox h2 { font-size: .95rem; }.cat-lightbox { padding: 10px; }
 .cat-home-project { grid-template-columns: minmax(0, 1fr); padding: 28px; gap: 28px; }
}
@media(prefers-reduced-motion: reduce) { .cat-project { scroll-behavior: auto; }.cat-project .button { transition: none; } }

.site-with-catools .nav-links { flex-wrap: wrap; row-gap: 10px; }
.site-with-catools .brand { flex-shrink: 0; }
.site-with-catools .nav-cta { white-space: nowrap; }

/* Frame the functional workspace of the original screenshots. */
.cat-screen { --screen-ratio: 1160 / 650; --screen-offset: -12.307692%; display: block; position: relative; overflow: hidden; aspect-ratio: var(--screen-ratio); background: #eff4f5; border-radius: 7px; }
.cat-screen-bom { --screen-ratio: 944 / 550; --screen-offset: -14.545455%; }
.cat-screen img { position: absolute; top: var(--screen-offset); left: 0; width: 100%; height: auto; max-height: none; border: 0; border-radius: 0; }
.cat-lightbox .cat-screen { width: min(100%, calc((96vh - 115px) * (var(--screen-ratio)))); margin: auto; }
