.platform-capsules .system-link {
    white-space: normal; text-align: start; max-width: 100%; height: auto;
}
.system-label-short { display: none; }
.system-link[aria-expanded="true"] { outline: 2px solid var(--accent); outline-offset: 1px; }
.system-panel[open] { grid-template-rows: minmax(0, 1fr); }
.system-panel .split-content {
    grid-area: 1 / 1; padding: 0;
    scroll-padding-top: 76px;
}
.system-panel .split-toolbar, .system-page .system-cover-toolbar {
    position: absolute; inset: 0 0 auto; z-index: 1;
    display: flex; align-items: flex-start; gap: 8px;
    padding: 10px 14px; border: 0; color: white; background: transparent;
    isolation: isolate;
}
.system-panel .split-toolbar::before, .system-cover-toolbar::before {
    content: ""; position: absolute; z-index: -1; pointer-events: none;
    inset: 0 0 -18px;
    background: linear-gradient(to bottom, rgb(12 16 22 / 86%), rgb(12 16 22 / 65%) 58%, transparent);
}
.system-panel .split-toolbar h2, .system-cover-toolbar h1 {
    flex: 1; min-width: 0; margin: 0; padding: 10px 4px;
    line-height: 1.3; color: inherit; text-transform: none;
    text-shadow: 0 1px 3px rgb(0 0 0 / 65%);
}
.system-panel .split-toolbar .icon-button, .system-cover-toolbar .icon-button {
    display: grid; place-items: center; width: 44px; height: 44px; flex: 0 0 44px;
    border: 1px solid rgb(255 255 255 / 45%); border-radius: 50%;
    color: white; background: rgb(12 16 22 / 38%); box-shadow: none;
}
.system-panel .split-toolbar .icon-button:is(:hover,:focus-visible),
.system-cover-toolbar .icon-button:is(:hover,:focus-visible) { background: rgb(12 16 22 / 72%); }
.system-panel[data-content-scrolled] .split-toolbar {
    background: var(--bar-material); color: var(--text);
    -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
}
.system-panel[data-content-scrolled] .split-toolbar::before { opacity: 0; }
.system-panel[data-content-scrolled] .split-toolbar h2 { text-shadow: none; }
.system-panel[data-content-scrolled] .icon-button { color: var(--text); background: var(--soft); border-color: var(--line); }
.system-cover { position: relative; isolation: isolate; background: #30373c; }
.system-cover img { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; }
.system-page { max-width: 900px; padding-block: 18px 52px; }
.system-page .system-cover { overflow: hidden; border-radius: 22px; }
.system-page .system-cover-toolbar h1 { font-size: clamp(17px, 2.8vw, 25px); }
.system-detail { padding: 22px clamp(16px, 3vw, 32px) max(32px, env(safe-area-inset-bottom)); }

.system-detail { font-size: 16px; line-height: 1.55; min-width: 0; overflow-wrap: anywhere; }
.system-detail h3 { font-size: 17px; margin: 0 0 7px; text-transform: none; }
.system-detail p { margin: 0; }
.system-detail > section, .system-detail > figure { margin: 24px 0 0; }
.system-detail .system-definition { font-size: 18px; }
.application-examples p { color: var(--muted); }
.application-examples .skill-logo { object-fit: contain; }
.system-functions { margin: 0; padding-inline-start: 21px; color: var(--muted); }
.system-functions li + li { margin-top: 4px; }
.system-functions li::marker { color: var(--accent); }
.system-detail .system-note { font-size: 13px; color: var(--muted); }
.system-estimate { padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.system-estimate .estimate-value { font-size: clamp(20px, 3vw, 26px); color: var(--accent); font-weight: 650; margin: 4px 0; }
.system-estimate details { margin-top: 12px; font-size: 14px; }
.system-estimate summary { color: var(--accent); font-weight: 600; text-decoration: underline; }
.system-estimate details p, .system-detail .system-note { margin-top: 8px; }
@media (min-width: 680px) {
    .split-active .profile-section { grid-template-columns: 1fr; gap: 12px; }
    .split-active .personal-hero { grid-template-columns: 1fr; }
    .split-active .site-shell .personal-brand { width: auto; height: var(--nav-compact-height); }
}
@media (max-width: 679px) {
    .system-label-full { display: none; }
    .system-label-short { display: inline; white-space: nowrap; }
    .system-panel[open] { height: min(80dvh, 820px); }
}

.application-examples .app-edition { font-size: .8em; font-weight: 500; border-inline-start: 1px solid var(--line); padding-inline-start: 6px; }
.application-examples .button { max-width: 100%; white-space: normal; }

/* External destinations use the same detail sheet and split layout as the catalogue. */
.external-panel[open] { grid-template-rows: auto minmax(0, 1fr); }
.external-panel .split-toolbar h2 { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; text-transform: none; }
.external-panel .split-toolbar { gap: .35rem; }
.external-panel .icon-button { flex-shrink: 0; }
.external-content { min-width: 0; }
.external-content iframe { display: block; border: 0; width: 100%; height: 100%; background: white; }
.split-active .workshop-signup { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 679px) {
    .external-panel[open] { height: min(82dvh, 820px); }
}
