/* Gemeinsame Liraeth Oberfläche. Signalmarke und Akzente stammen von der Homepage. */
.shell-page {
  --bg: #080812;
  --panel: #171424;
  --line: #302a43;
  --text: #f5f2ff;
  --muted: #b3abc8;
  background: linear-gradient(145deg, #090913, #120d20 65%, #0b101d);
}
.shell-page::before {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(1px 1px at 30% 15%, #c5c2e5 45%, transparent 60%), radial-gradient(1px 1px at 74% 28%, #aaa5cf 45%, transparent 60%), radial-gradient(1px 1px at 45% 82%, #777da9 45%, transparent 60%);
  animation: sky-breathe 9s ease-in-out infinite alternate;
}
.shell-page * { letter-spacing: 0; }
.app-frame { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 100vh; }
.shell-sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 24px 14px 14px; background: #0c0b15ed; border-right: 1px solid #282335; }
.shell-brand { margin: 0 12px 42px; gap: 12px; font-size: 19px; }
.shell-brand .brand-light { margin-left: 4px; }
.brand-mark { display: inline-flex; width: 38px; height: 38px; flex: none; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-mark-ring { stroke: #c0b7d438; stroke-width: 1.4; }
.brand-mark-bars { stroke: var(--cyan); transform-origin: center; animation: barPulse 2.6s ease-in-out infinite; }
.shell-section-name { color: #9188a8; font-size: 10px; font-weight: 700; padding: 0 16px; margin-bottom: 12px; }
.shell-navigation { display: grid; gap: 5px; }
.shell-navigation a { display: flex; align-items: center; gap: 12px; min-height: 45px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: var(--muted); transition: background 160ms, color 160ms; }
.shell-navigation a:hover { color: var(--text); background: #ffffff09; }
.shell-navigation a[aria-current] { color: var(--cyan); background: #63f0ff0c; box-shadow: inset 0 0 0 1px #63f0ff22; }
.icon { width: 19px; height: 19px; display: inline-block; flex: none; background: currentColor; mask-size: contain; mask-position: center; mask-repeat: no-repeat; }
.icon-activity { mask-image: url('/assets/icons/activity.svg'); }
.icon-user { mask-image: url('/assets/icons/circle-user-round.svg'); }
.icon-external { mask-image: url('/assets/icons/arrow-up-right.svg'); }
.icon-refresh { mask-image: url('/assets/icons/refresh-cw.svg'); }
.shell-home { display: flex; align-items: center; gap: 12px; color: #a198b7; font-size: 12px; margin: auto 14px 23px; padding-top: 30px; }
.shell-home:hover { color: var(--cyan); }
.shell-profile { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-radius: 14px; background: #191522; min-width: 0; }
.shell-profile > img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex: none; }
.shell-profile-placeholder { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: #30283f; color: #b5a9cc; flex: none; }
.shell-profile-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.shell-profile-text strong { font-size: 12px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shell-profile-text small { font-size: 10px; color: var(--muted); }
.page-column { min-width: 0; }
.shell-topbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; height: 76px; border-bottom: 1px solid #2a2437; padding: 0 36px; color: #c6bdd6; font-size: 13px; background: #100d19a8; }
.shell-topbar b { color: #655d79; font-weight: 400; margin: 0 12px; }
.shell-mode { font-size: 11px; color: #bea8d9; padding: 7px 11px; border-radius: 20px; border: 1px solid #a17ac92b; background: #a17ac908; white-space: nowrap; }
.shell-page main { max-width: 1120px; padding: 36px 36px 45px; width: 100%; }
.shell-page .account-main { max-width: 1000px; }
.shell-page h1 { font-size: 34px; font-weight: 650; }
.shell-page .eyebrow { font-size: 10px; color: #e08ac8; }
.shell-page .page-heading { margin-bottom: 27px; }
.shell-page .page-heading > div > p { font-size: 13px; }
.shell-page .overview { padding: 23px 0; gap: 17px; }
.shell-page .overview-mark { background: #272033; border-radius: 14px; }
.shell-page .services { gap: 18px; }
.shell-page .service { border-radius: 18px; padding: 22px; background: linear-gradient(140deg, #1c172b, #141321); border-color: #352c47; box-shadow: 0 10px 28px #00000015; animation: panel-arrive 350ms ease-out both; }
.shell-page .service:nth-child(2) { animation-delay: 40ms; }
.shell-page .service:nth-child(3) { animation-delay: 80ms; }
.shell-page .service:nth-child(4) { animation-delay: 120ms; }
.shell-page .service-head { display: grid; grid-template-columns: 43px minmax(0, 1fr); gap: 4px 12px; }
.shell-page .service-head > img { grid-row: 1 / 3; box-shadow: 0 0 0 3px #ffffff06; }
.shell-page .service-head > .service-name { grid-column: 2; }
.shell-page .service-head > .state { grid-column: 2; margin: 3px 0 0; }
.shell-page .service-detail { font-size: 12px; margin-top: 19px; }
.shell-page .signal { gap: 4px; }
.shell-page .signal span { height: 32px; opacity: 1; }
.shell-page .signal span[data-state=unknown] { opacity: .55; }
.shell-page .signal span[data-state=recovered], .shell-page .history-legend i.recovered { background: #69b5ff; }
.shell-page .signal span[data-severity=fault] { background: #f18d9e; }
.shell-page .signal span:last-child { outline: 1px solid #e4dff9; outline-offset: 2px; }
.shell-page #refresh { border-radius: 12px; background: #211b2f; border-color: #40334f; }
.shell-page #refresh:hover { border-color: #63f0ff75; }
.shell-page .section-heading > span { text-align: right; }
.shell-page .history-legend { font-size: 10px; flex-wrap: wrap; }
.shell-page .incidents { margin-top: 30px; }
.shell-page .incident { grid-template-columns: 150px minmax(0, 1fr); }
#private-entries p + p { margin-top: 10px; }
.shell-page .observation-note { font-size: 11px; }
.shell-page footer { width: calc(100% - 72px); padding: 22px 0 25px; font-size: 10px; flex-wrap: wrap; }
.shell-page .account-heading { padding: 8px 0 32px; gap: 25px; }
.account-avatar-wrap { width: 100px; height: 100px; border-radius: 50%; padding: 5px; border: 1px solid #b179bf66; box-shadow: 0 0 28px #b363b30b; flex: none; }
.account-avatar-wrap img { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; display: block; }
.shell-page .profile-top { padding-top: 0; }
.shell-page .role-badge { border-radius: 24px; font-size: 11px; padding: 7px 13px; }
.shell-page .account-primary { border-radius: 12px; background: #8eeaf2; border-color: #8eeaf2; gap: 10px; min-height: 44px; }
.shell-page .account-primary:hover { background: #b8f5f8; }
.shell-page #account-logout { border-radius: 10px; }
.shell-page #team-fields textarea, .shell-page #team-fields select { border-radius: 12px; background: #161220; padding: 13px; }
.shell-page .access-levels { padding-top: 22px; gap: 26px; }
.shell-page .access-summary { padding: 25px 0; }
.shell-page .access-summary > p { font-size: 13px; }
.shell-page .account-message { font-size: 12px; }
.shell-page .account-message:empty { min-height: 0; margin: 20px 0 0; }
@keyframes barPulse { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.6); } }
@keyframes sky-breathe { from { opacity: .25; } to { opacity: .65; } }
@keyframes panel-arrive { from { opacity: .2; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1100px) { .app-frame { grid-template-columns: 210px minmax(0, 1fr); } .shell-page main { padding: 30px 25px 36px; } .shell-topbar { padding: 0 25px; } .shell-page footer { width: calc(100% - 50px); } .shell-page .service { padding: 18px; } }
@media (max-width: 850px) { .app-frame { grid-template-columns: 1fr; } .shell-sidebar { position: relative; height: auto; padding: 16px 20px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 18px; border-right: 0; border-bottom: 1px solid var(--line); } .shell-brand { margin: 0; } .shell-section-name,.shell-home,.shell-profile { display: none; } .shell-navigation { display: flex; justify-content: flex-end; } .shell-navigation a { min-height: 42px; font-size: 13px; padding: 10px 12px; gap: 7px; } .shell-topbar { height: 56px; font-size: 12px; } }
@media (max-width: 600px) { .shell-sidebar { padding: 14px 16px; gap: 12px; } .shell-brand { font-size: 16px; gap: 8px; } .shell-brand .brand-light { display: none; } .brand-mark { width: 30px; height: 30px; } .shell-navigation { gap: 3px; } .shell-navigation a { font-size: 12px; padding: 9px; } .shell-navigation .icon { width: 15px; height: 15px; } .shell-topbar { padding: 0 18px; } .shell-topbar b { margin: 0 7px; } .shell-mode { padding: 5px 8px; font-size: 10px; } .shell-page main { padding: 26px 18px 30px; } .shell-page h1 { font-size: 29px; } .shell-page .services { grid-template-columns: 1fr; } .shell-page .service { padding: 21px; } .shell-page .account-heading { gap: 16px; } .account-avatar-wrap { width: 74px; height: 74px; padding: 4px; } .account-avatar-wrap img { width: 64px; height: 64px; } .shell-page .account-heading h1 { font-size: 25px; } .shell-page .account-heading p { font-size: 12px; } .shell-page footer { width: calc(100% - 36px); } .shell-page .incident { grid-template-columns: 1fr; } .shell-page .history-legend > div { gap: 10px; } }
@media (prefers-reduced-motion: reduce) { .shell-page *, .shell-page::before { animation: none !important; transition: none !important; } }
