:root {
    font-family:"Segoe UI",Arial,sans-serif;
    color:#eef7ff;
    font-synthesis:none
}
* {
    box-sizing:border-box
}
html,body {
    margin:0;
    min-height:100%;
    background:#04172d
}
button {
    font:inherit;
    cursor:pointer
}
button:focus-visible {
    outline:2px solid #b8e9ff;
    outline-offset:3px
}
.scene {
    position:fixed;
    inset:0;
    z-index:0;
    background:url('/../index.php?image=start/start_04.png') center center/cover no-repeat;
    pointer-events:none
}
.shell {
    position:relative;
    z-index:1;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    padding:clamp(12px,1.5vw,24px);
    gap:15px
}
.top {
    display:flex;
    align-items:center;
    gap:20px;
    background:linear-gradient(180deg,rgba(3,20,48,.86),rgba(3,24,55,.65));
    border:1px solid rgba(140,210,255,.34);
    border-radius:14px;
    padding:12px 18px;
    backdrop-filter:blur(5px);
    box-shadow:0 5px 20px #00142a5c
}
.brand {
    font-size:19px;
    font-weight:750;
    letter-spacing:.13em;
    white-space:nowrap;
    color:#fff;
    text-shadow:0 2px 5px #000
}
.brand small {
    display:block;
    letter-spacing:.17em;
    font-size:9px;
    color:#beddf4;
    margin-top:2px
}
.tabs {
    display:flex;
    gap:5px;
    overflow-x:auto;
    flex:1
}
.tab {
    border:1px solid #74b8e040;
    border-radius:9px;
    background:linear-gradient(#23588a91,#062b5ab3);
    color:#e5f4ff;
    padding:10px 14px;
    white-space:nowrap
}
.tab.active {
    background:linear-gradient(#67b9edc9,#155487df);
    border-color:#91d9ff;
    font-weight:650
}
.close {
    margin-left:10px;
    color:#e4f7ff
}
.clock {
    font-size:11px;
    color:#d0e6f5;
    white-space:nowrap
}
.content {
    flex:1;
    min-height:0;
    overflow:auto;
    padding:clamp(16px,2.5vw,38px);
    border:0;
    background:transparent
}
.eyebrow {
    font-size:11px;
    font-weight:750;
    letter-spacing:.22em;
    color:#c3eaff;
    text-transform:uppercase;
    text-shadow:0 2px 6px #00192e
}
h1 {
    font-size:clamp(29px,3vw,44px);
    letter-spacing:-.035em;
    font-weight:600;
    margin:10px 0 8px;
    color:white;
    text-shadow:0 2px 9px #00172f
}
.intro {
    color:#e2f2ff;
    font-size:14px;
    margin:0 0 28px;
    text-shadow:0 2px 7px #00172f
}
.grid {
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:20px;
    max-width:1510px;
    margin:34px auto 0
}
.card {
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:flex-start;
    gap:20px;
    min-height:144px;
    text-align:left;
    position:relative;
    border:2px solid rgba(255,255,255,.82);
    background:rgba(255,255,255,var(--panel-white-opacity,.10));
    border-radius:18px;
    padding:22px 25px;
    box-shadow:0 3px 0 rgba(255,255,255,.95),0 7px 0 rgba(85,113,137,.34),0 11px 0 rgba(46,75,102,.24),0 18px 20px rgba(22,39,57,.28),0 29px 35px rgba(22,39,57,.18);
    color:#111c30;
    transition:none;
    backdrop-filter:blur(6px) saturate(115%)
}
.card:hover {
    transform:none;
    box-shadow:0 12px 25px rgba(28,43,58,.13)
}
.card:after {
    content:none
}
.icon {
    width:72px;
    height:72px;
    flex:0 0 72px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:linear-gradient(145deg,#259ee5,#1376ba 60%,#176194);
    color:#fff;
    font-size:35px;
    font-weight:600;
    margin:0;
    box-shadow:inset 0 1px 2px rgba(255,255,255,.5);
    text-shadow:0 1px 3px rgba(0,35,70,.25)
}
.card strong {
    display:block;
    font-size:22px;
    font-weight:700;
    color:#10192b;
    text-shadow:none
}
.card span {
    display:block;
    margin-top:7px;
    font-size:15px;
    color:#344051;
    line-height:1.35
}
.grid>.card:nth-child(-n+2) {
    grid-column:span 2;
    min-height:166px
}
.grid>.card:nth-child(-n+2) .icon {
    width:92px;
    height:92px;
    flex-basis:92px;
    font-size:44px
}
.eyebrow {
    color:#14283c;
    text-shadow:none
}
h1 {
    color:#111c30;
    text-shadow:none
}
.intro {
    color:#465260;
    text-shadow:none
}
.workspace {
    background:rgba(3,22,49,.82);
    border-radius:16px;
    border:1px solid #a7dfff7d;
    min-height:55vh;
    padding:25px;
    box-shadow:0 12px 35px #00152f77
}
.subtabs {
    display:flex;
    gap:7px;
    margin:18px 0 23px;
    flex-wrap:wrap
}
.subtab {
    border:1px solid #8acbfa80;
    border-radius:9px;
    background:linear-gradient(#27679b,#073366);
    padding:9px 15px;
    color:#e2f3ff
}
.subtab.active {
    background:linear-gradient(#76c9fa,#15568d);
    color:white
}
.note {
    font-size:14px;
    color:#d1e8f7;
    line-height:1.8
}
footer {
    font-size:11px;
    color:#c2def2;
    display:flex;
    justify-content:space-between;
    padding:0 5px;
    text-shadow:0 2px 5px #00172f
}
@media(max-width:1100px) {
    .grid {
        grid-template-columns:repeat(4,minmax(0,1fr))
    }
    .clock {
        display:none
    }
}
@media(max-width:760px) {
    .top {
        flex-wrap:wrap
    }
    .tabs {
        order:3;
        flex-basis:100%
    }
    .grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
}
@media(max-width:520px) {
    .shell {
        padding:9px
    }
    .content {
        padding:14px
    }
    .grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px
    }
    .card {
        min-height:140px;
        padding:12px
    }
    .card strong {
        font-size:14px
    }
}
/* : Foto innerhalb der Kachel, mit weichem Weißverlauf und weißem Innenrahmen wie start_01.png */
.grid>.card:nth-child(-n+2) {
    overflow:hidden;
    isolation:isolate;
    border:1px solid rgba(255,255,255,.65)
}
.grid>.card:nth-child(-n+2)::after {
    content:"";
    display:block;
    position:absolute;
    top:5px;
    right:5px;
    bottom:5px;
    left:5px;
    border-radius:13px;
    pointer-events:none;
    z-index:-1;
    background-image:linear-gradient(90deg,rgba(255,255,255,.32) 0%,rgba(255,255,255,.25) 35%,rgba(255,255,255,.12) 54%,rgba(255,255,255,0) 80%),var(--module-photo,none);
    background-size:100% 100%,cover;
    background-position:center,right center;
    background-repeat:no-repeat;
    opacity:1
}
.grid>.card:nth-child(-n+2)>.icon,.grid>.card:nth-child(-n+2)>.card-copy {
    position:relative;
    z-index:1
}
/* Browser-Tab-Leiste: Registerkarten statt schwebender Schaltflächen */
.shell {
    gap:0
}
.top {
    align-items:stretch;
    gap:18px;
    min-height:63px;
    padding:11px 18px 0;
    border-radius:14px 14px 0 0;
    border-bottom:0;
    background:linear-gradient(180deg,rgba(232,239,246,.96),rgba(216,227,238,.96));
    box-shadow:0 5px 20px rgba(25,44,67,.12);
    backdrop-filter:blur(12px)
}
.brand {
    align-self:center;
    padding-bottom:11px;
    color:#233b52;
    text-shadow:none
}
.brand small {
    color:#64798c;
    text-shadow:none
}
.clock {
    align-self:center;
    padding-bottom:11px;
    color:#5c7184
}
.tabs {
    align-items:flex-end;
    gap:3px;
    overflow-x:auto;
    overflow-y:hidden;
    padding:0 0 0 4px;
    scrollbar-width:thin
}
.tab {
    position:relative;
    flex:0 0 auto;
    min-width:105px;
    max-width:220px;
    min-height:38px;
    padding:9px 16px 10px;
    border:1px solid rgba(137,154,174,.45);
    border-bottom:0;
    border-radius:11px 11px 0 0;
    background:rgba(193,207,221,.48);
    color:#4b5c6d;
    font-size:13px;
    font-weight:500;
    white-space:nowrap;
    box-shadow:none;
    transition:background .15s,color .15s
}
.tab:hover {
    background:rgba(255,255,255,.7);
    color:#21384d
}
.tab.active {
    background:rgba(255,255,255,.98);
    border-color:rgba(150,166,182,.62);
    color:#173b5c;
    font-weight:650;
    box-shadow:0 -2px 8px rgba(48,70,95,.06);
    z-index:2
}
.tab.active::after {
    content:"";
    position:absolute;
    bottom:-2px;
    left:0;
    right:0;
    height:3px;
    background:#fff
}
.close {
    margin-left:14px;
    color:#718397;
    font-size:15px;
    line-height:1
}
.close:hover {
    color:#b33c42
}
.content {
    border:1px solid rgba(181,195,209,.7);
    border-top:0;
    border-radius:0 0 14px 14px;
    background:rgba(255,255,255,.13);
    min-height:0
}
@media(max-width:760px) {
    .top {
        gap:8px;
        padding-top:8px
    }
    .tabs {
        order:3;
        flex-basis:100%
    }
    .brand,.clock {
        padding-bottom:5px
    }
}
/* Fensterfüllende, native Browser-/Microsoft-ähnliche Registerleiste */
html,body {
    width:100%;
    min-height:100%;
    margin:0
}
.shell {
    width:100%;
    min-height:100vh;
    margin:0;
    padding:0;
    gap:0
}
.top {
    width:100%;
    min-height:48px;
    margin:0;
    padding:0 16px 0 0;
    gap:0;
    align-items:stretch;
    border:0;
    border-radius:0;
    background:#e8edf3;
    box-shadow:0 1px 0 #c4cdd7;
    backdrop-filter:none
}
.brand {
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center;
    flex:0 0 auto;
    margin:0;
    padding:0 23px 0 18px;
    border-right:1px solid #d2d9e1;
    font-size:16px;
    letter-spacing:.08em;
    color:#26394b
}
.brand small {
    font-size:8px;
    letter-spacing:.12em;
    margin-top:1px
}
.tabs {
    align-items:stretch;
    flex:1;
    gap:0;
    margin:0;
    padding:0;
    overflow-x:auto;
    overflow-y:hidden;
    scrollbar-width:thin
}
.tab {
    display:inline-flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-width:125px;
    max-width:225px;
    min-height:48px;
    margin:0;
    padding:0 16px;
    border:0;
    border-right:1px solid #d2d9e1;
    border-radius:0;
    background:transparent;
    color:#435569;
    box-shadow:none;
    font-size:13px;
    font-weight:400;
    text-align:left
}
.tab:hover {
    background:#dbe3eb;
    color:#1d3449
}
.tab.active {
    background:#fff;
    border:0;
    border-right:1px solid #d2d9e1;
    border-radius:0;
    box-shadow:inset 0 3px 0 #3b82bd;
    color:#152e43;
    font-weight:600;
    z-index:1
}
.tab.active::after {
    display:none
}
.close {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 18px;
    width:18px;
    height:18px;
    margin:0;
    border-radius:3px;
    color:#6a7a89;
    font-size:17px;
    font-weight:400
}
.close:hover {
    background:#d7dfe8;
    color:#23394c
}
.clock {
    align-self:center;
    padding:0 0 0 15px;
    color:#6a7b8a;
    font-size:10px
}
.content {
    flex:1;
    margin:0;
    padding:clamp(16px,2.5vw,38px);
    border:0;
    border-radius:0;
    background:transparent
}
footer {
    margin:0;
    padding:8px 16px
}
@media(max-width:760px) {
    .top {
        flex-wrap:nowrap;
        padding:0
    }
    .brand {
        padding:0 12px
    }
    .tabs {
        order:0;
        flex-basis:auto
    }
    .tab {
        min-width:90px;
        padding:0 10px
    }
    .clock {
        display:none
    }
}
@media(max-width:520px) {
    .shell {
        padding:0
    }
    .content {
        padding:14px
    }
}
/* Kompakte, vertraute Desktop-Registerkarten ohne Akzentstreifen */
.top {
    min-height:36px;
    height:36px;
    padding:0 10px 0 0;
    background:#e9edf1;
    box-shadow:0 1px 0 #cdd5dd
}
.brand {
    padding:0 16px 0 13px;
    font-size:13px;
    letter-spacing:.045em;
    line-height:1.05
}
.brand small {
    font-size:7px;
    letter-spacing:.06em
}
.tabs {
    height:36px
}
.tab {
    min-height:36px;
    height:36px;
    min-width:96px;
    max-width:190px;
    padding:0 12px;
    gap:8px;
    font-size:12px
}
.tab.active {
    background:#fff;
    box-shadow:none;
    border-right:1px solid #d2d9e1;
    color:#24394b;
    font-weight:550
}
.tab.active::after {
    display:none
}
.close {
    width:16px;
    height:16px;
    flex-basis:16px;
    font-size:15px
}
.clock {
    font-size:9px;
    padding-left:10px
}
@media(max-width:760px) {
    .top,.tabs {
        height:36px;
        min-height:36px
    }
    .brand {
        padding:0 9px
    }
    .tab {
        height:36px;
        min-height:36px;
        min-width:80px;
        padding:0 8px
    }
}
/* Firefox-inspirierte Tabs: Modulicon, Titel und Schließen */
.tab {
    gap:7px;
    border-radius:9px 9px 0 0;
    justify-content:flex-start;
    padding:0 10px;
    min-width:115px
}
.tab.active {
    border-radius:10px 10px 0 0;
    background:#fff;
    box-shadow:0 -1px 3px rgba(56,75,95,.08)
}
.tab-icon {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 17px;
    width:17px;
    height:17px;
    border-radius:4px;
    background:#e0eaf3;
    color:#31648a;
    font-size:12px;
    font-weight:700;
    line-height:1
}
.tab.active .tab-icon {
    background:#dcebf8;
    color:#17689e
}
.tab-label {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    min-width:0;
    flex:1
}
.tab .close {
    margin-left:4px;
    flex:0 0 16px
}
/* : Chrome/Edge-vertraute Tab-Silhouette mit eigener Markenidentität */
.top {
    height:39px;
    min-height:39px;
    padding:0 12px 0 0;
    align-items:stretch;
    background:#dfe7ef;
    border:0;
    box-shadow:0 1px 0 rgba(98,121,145,.2)
}
.brand {
    position:relative;
    flex:0 0 auto;
    min-width:148px;
    padding:0 16px 0 15px;
    border-right:0;
    background:#dfe7ef;
    color:#164a73;
    font-size:14px;
    font-weight:750;
    letter-spacing:.075em
}
.brand::before {
    content:"";
    position:absolute;
    left:0;
    top:0;
    bottom:0;
    width:3px;
    background:#258bc5
}
.brand small {
    font-size:7px;
    letter-spacing:.085em;
    color:#5d7388
}
.tabs {
    height:39px;
    align-items:flex-end;
    gap:0;
    overflow-y:hidden
}
.tab {
    position:relative;
    flex:0 0 auto;
    min-width:118px;
    max-width:205px;
    height:34px;
    min-height:34px;
    margin:0 1px;
    padding:0 12px;
    gap:8px;
    border:0;
    border-radius:10px 10px 0 0;
    background:transparent;
    color:#42566a;
    font-size:12px;
    font-weight:450;
    box-shadow:none
}
.tab:not(.active):hover {
    background:#d1dde8
}
.tab:not(.active)::after {
    content:"";
    position:absolute;
    right:-2px;
    top:9px;
    bottom:9px;
    width:1px;
    background:#b8c7d5
}
.tab.active {
    height:36px;
    min-height:36px;
    background:#fff;
    border:0;
    border-radius:11px 11px 0 0;
    color:#1d354a;
    font-weight:600;
    box-shadow:0 -1px 3px rgba(66,85,107,.07);
    z-index:2
}
.tab.active::before {
    content:"";
    position:absolute;
    bottom:0;
    left:-8px;
    width:8px;
    height:8px;
    border-radius:0 0 8px 0;
    box-shadow:3px 3px 0 2px #fff;
    pointer-events:none
}
.tab.active::after {
    content:"";
    display:block;
    position:absolute;
    bottom:0;
    right:-8px;
    top:auto;
    width:8px;
    height:8px;
    border-radius:0 0 0 8px;
    background:transparent;
    box-shadow:-3px 3px 0 2px #fff;
    pointer-events:none
}
.tab-icon {
    background:transparent;
    color:#237eb1;
    font-size:14px
}
.tab.active .tab-icon {
    background:transparent;
    color:#176b9e
}
.tab .close {
    margin-left:auto;
    color:#65788b;
    border-radius:4px
}
.tab .close:hover {
    background:#e6edf3;
    color:#243e54
}
.clock {
    align-self:center;
    color:#738598;
    font-size:9px
}
@media(max-width:760px) {
    .top,.tabs {
        height:39px;
        min-height:39px
    }
    .brand {
        min-width:auto;
        padding:0 10px
    }
    .tab {
        min-width:93px;
        padding:0 8px
    }
}
/* Sehr schmales Identitätsband über der eigentlichen Tab-Navigation */
.identity-strip {
    height:60px;
    min-height:60px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 13px;
    background:#14263d;
    border-bottom:0;
    color:#edf3f8;
    font-size:9px;
    line-height:1;
    white-space:nowrap
}
.identity-name {
    display:inline-flex;
    align-items:center;
    gap:5px;
    font-weight:700;
    letter-spacing:.11em;
    color:#f1f6fa
}
.identity-sub {
    font-size:8px;
    font-weight:400;
    letter-spacing:.06em;
    color:#c1d0dc;
    margin-left:7px
}
.identity-right {
    display:flex;
    align-items:center;
    gap:18px
}
.identity-user {
    color:#d0dbe5
}
#clock {
    font-variant-numeric:tabular-nums;
    color:#d0dbe5
}
.top {
    height:36px;
    min-height:36px;
    background:#e3eaf1
}
.brand {
    min-width:112px;
    padding:0 14px;
    font-size:13px;
    letter-spacing:.06em;
    color:#17618d
}
.brand::before {
    width:0
}
.brand small {
    font-size:7px;
    letter-spacing:.09em;
    color:#6a8aa0
}
.tabs {
    height:36px
}
.tab {
    height:32px;
    min-height:32px
}
.tab.active {
    height:34px;
    min-height:34px
}
@media(max-width:760px) {
    .identity-strip {
        padding:0 8px
    }
    .identity-sub {
        display:none
    }
    .identity-right {
        gap:8px
    }
    .top,.tabs {
        height:36px;
        min-height:36px
    }
}
/* Tab-Leiste ohne doppelte Marke: 32 px, direkt am linken Rand */
.top {
    height:32px;
    min-height:32px;
    padding:0;
    background:#e3eaf1
}
.tabs {
    height:32px;
    min-height:32px;
    padding:0;
    margin:0
}
.tab {
    height:29px;
    min-height:29px
}
.tab.active {
    height:31px;
    min-height:31px
}
@media(max-width:760px) {
    .top,.tabs {
        height:32px;
        min-height:32px
    }
}
/* Vollständig gerundete, kompakte Browser-Tabs mit 2px Luft ringsum */
.top {
    height:34px;
    min-height:34px;
    padding:0;
    background:#e3eaf1
}
.tabs {
    height:34px;
    min-height:34px;
    align-items:center;
    gap:2px;
    padding:0 2px;
    overflow-y:hidden
}
.tab,.tab.active {
    height:30px;
    min-height:30px;
    margin:0;
    padding:0 11px;
    border:0;
    border-radius:9px;
    background:transparent;
    box-shadow:none
}
.tab:not(.active)::after,.tab.active::before,.tab.active::after {
    content:none;
    display:none
}
.tab:not(.active):hover {
    background:#d5e0ea
}
.tab.active {
    background:#fff;
    color:#1d354a;
    box-shadow:0 1px 3px rgba(58,77,98,.12)
}
@media(max-width:760px) {
    .top,.tabs {
        height:34px;
        min-height:34px
    }
    .tab,.tab.active {
        height:30px;
        min-height:30px
    }
}
/* Test: Firefox-inspirierte Kapselform für die Registerkarten */
.tab,.tab.active {
    border-radius:15px
}
/* Aktiver Tab: sanftes Off-White statt blendendem Reinweiß */
.tab.active {
    background:#f3f6f9
}
/* Abschaltbarer Bewegungstest: ein dezenter Mitarbeiter im Hintergrund */
.scene {
    overflow:hidden
}
.office-walker {
    position:absolute;
    left:0;
    top:51%;
    width:27px;
    height:84px;
    opacity:0;
    transform-origin:bottom center;
    filter:blur(.55px) drop-shadow(2px 3px 2px rgba(33,50,63,.18));
    pointer-events:none
}
.office-walker .head {
    position:absolute;
    left:9px;
    top:0;
    width:11px;
    height:13px;
    border-radius:50%;
    background:#6b777e
}
.office-walker .torso {
    position:absolute;
    left:7px;
    top:13px;
    width:15px;
    height:35px;
    border-radius:5px 5px 3px 3px;
    background:#536b7c
}
.office-walker .arm {
    position:absolute;
    top:17px;
    width:5px;
    height:29px;
    background:#667784;
    border-radius:4px;
    transform-origin:top center
}
.office-walker .arm.left {
    left:4px
}
.office-walker .arm.right {
    right:2px
}
.office-walker .leg {
    position:absolute;
    top:45px;
    width:6px;
    height:37px;
    background:#3c4a54;
    border-radius:3px;
    transform-origin:top center
}
.office-walker .leg.left {
    left:8px
}
.office-walker .leg.right {
    left:15px
}
.office-motion-on .office-walker {
    animation:office-cross 17s linear 1 forwards
}
.office-motion-on .office-walker .leg.left {
    animation:office-step .8s ease-in-out infinite alternate
}
.office-motion-on .office-walker .leg.right {
    animation:office-step .8s ease-in-out infinite alternate-reverse
}
.office-motion-on .office-walker .arm.left {
    animation:office-step .8s ease-in-out infinite alternate-reverse
}
.office-motion-on .office-walker .arm.right {
    animation:office-step .8s ease-in-out infinite alternate
}
@keyframes office-cross {
    0% {
        left:26%;
        opacity:0;
        transform:scale(.62)
    }
    8% {
        opacity:.64
    }
    75% {
        opacity:.64
    }
    100% {
        left:69%;
        opacity:0;
        transform:scale(.52)
    }
}
@keyframes office-step {
    from {
        transform:rotate(-19deg)
    }
    to {
        transform:rotate(19deg)
    }
}
@media(prefers-reduced-motion:reduce) {
    .office-motion-on .office-walker,.office-motion-on .office-walker * {
        animation:none!important
    }
}
/* Panel-Transparenz: Wert 0 = durchsichtig, 1 = weiss */
:root {
    --panel-white-opacity:.10
}
/* Ruhiges Hover-Feedback: nur der Rahmen wird dunkler */
.card:hover {
    border-color:#1376BA;
    outline:4px solid #1376BA;
    outline-offset:-1px;
    box-shadow:0 3px 0 rgba(255,255,255,.95),0 7px 0 rgba(85,113,137,.34),0 11px 0 rgba(46,75,102,.24),0 18px 20px rgba(22,39,57,.28),0 29px 35px rgba(22,39,57,.18);
    transform:none
}
.card:focus-visible {
    outline:2px solid #526b80;
    outline-offset:2px
}
/* 3D-Labor: echte räumliche Flächen statt gestapelter Schatten */
.grid {
    perspective:1050px;
    perspective-origin:50% 42%
}
.grid>.card {
    --tilt-x:0deg;
    --tilt-y:0deg;
    --depth:13px;
    transform-style:preserve-3d;
    transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    transition:transform .22s ease;
    will-change:transform;
    box-shadow:0 15px 23px rgba(15,35,54,.18);
    overflow:visible
}
.grid>.card::before {
    content:"";
    position:absolute;
    inset:0;
    border-radius:18px;
    background:rgba(120,162,190,.28);
    border:1px solid rgba(255,255,255,.75);
    transform:translateZ(calc(-1 * var(--depth)));
    box-shadow:0 10px 13px rgba(17,37,57,.19);
    pointer-events:none
}
.grid>.card>.icon,.grid>.card>.card-copy {
    transform:translateZ(7px)
}
.grid>.card:nth-child(-n+2) {
    overflow:visible
}
.grid>.card:nth-child(-n+2)::after {
    z-index:0;
    transform:translateZ(1px);
    border-radius:13px
}
.grid>.card:nth-child(-n+2)>.icon,.grid>.card:nth-child(-n+2)>.card-copy {
    z-index:2
}
.grid>.card:hover {
    transform:rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
    box-shadow:0 20px 30px rgba(15,35,54,.24);
    outline:3px solid #1376BA;
    outline-offset:0
}
@media(prefers-reduced-motion:reduce) {
    .grid>.card {
        transition:none
    }
}
/* 3D test v2: solid, calm tile with grab-to-rotate interaction */
.grid {
    perspective:900px
}
.grid>.card {
    --rx:-7deg;
    --ry:-12deg;
    transform:rotateX(var(--rx)) rotateY(var(--ry));
    transform-style:preserve-3d;
    transition:transform .65s cubic-bezier(.2,.8,.2,1);
    cursor:grab;
    touch-action:pan-y;
    box-shadow:0 18px 28px rgba(15,35,54,.20);
    border:2px solid rgba(255,255,255,.85)
}
.grid>.card:active {
    cursor:grabbing
}
.grid>.card::before {
    transform:translateZ(-18px);
    background:linear-gradient(130deg,rgba(71,114,145,.8),rgba(32,69,101,.75));
    border:2px solid rgba(195,226,247,.8);
    box-shadow:8px 11px 18px rgba(10,32,52,.24)
}
.grid>.card>.icon,.grid>.card>.card-copy {
    transform:translateZ(3px)
}
.grid>.card:hover {
    transform:rotateX(var(--rx)) rotateY(var(--ry));
    outline:0;
    border-color:rgba(255,255,255,.9);
    box-shadow:0 18px 28px rgba(15,35,54,.20)
}
.grid>.card.is-dragging {
    transition:none
}
.grid>.card:nth-child(-n+2)::after {
    transform:translateZ(1px)
}
/* 3D-Labor: Test beendet – ruhige, gerade Navigation */
.grid {
    perspective:none
}
.grid>.card,.grid>.card:hover {
    transform:none!important;
    transform-style:flat;
    transition:none;
    cursor:pointer;
    box-shadow:0 8px 22px rgba(20,41,61,.16);
    border:2px solid rgba(255,255,255,.85)
}
.grid>.card::before {
    content:none!important
}
.grid>.card>.icon,.grid>.card>.card-copy {
    transform:none!important
}
.grid>.card:nth-child(-n+2)::after {
    transform:none!important
}
/* Originaldesign: ruhige flache Karten, weiss gerahmt, nur Hover blau */
.grid {
    perspective:none
}
.grid>.card,.grid>.card:hover {
    transform:none!important;
    transform-style:flat!important;
    transition:border-color .15s ease,outline-color .15s ease!important;
    box-shadow:0 12px 22px rgba(24,38,52,.15)!important;
    outline:0!important;
    border:2px solid rgba(255,255,255,.95)!important;
    background:rgba(255,255,255,.78)!important;
    backdrop-filter:blur(8px)
}
.grid>.card:hover {
    border-color:#1376BA!important;
    outline:2px solid #1376BA!important;
    outline-offset:-2px!important
}
.grid>.card::before {
    content:none!important
}
.grid>.card>.icon,.grid>.card>.card-copy {
    transform:none!important
}
.grid>.card:nth-child(-n+2) {
    overflow:hidden!important;
    background:rgba(255,255,255,.66)!important
}
.grid>.card:nth-child(-n+2)::after {
    transform:none!important;
    background-image:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.94) 34%,rgba(255,255,255,.65) 55%,rgba(255,255,255,0) 83%),var(--module-photo,none)!important
}
/* Obere Fotokacheln: Bild und Weissverlauf reichen bis an den Aussenrand, kein separater weisser Innenrahmen. */
.grid>.card:nth-child(-n+2) {
    isolation:isolate;
    overflow:hidden!important;
    border:2px solid rgba(255,255,255,.93)!important;
    background:rgba(255,255,255,.12)!important
}
.grid>.card:nth-child(-n+2)::after {
    inset:0!important;
    top:0!important;
    right:0!important;
    bottom:0!important;
    left:0!important;
    border-radius:16px!important;
    background-image:linear-gradient(90deg,rgba(255,255,255,.98) 0%,rgba(255,255,255,.95) 30%,rgba(255,255,255,.67) 53%,rgba(255,255,255,0) 83%),var(--module-photo,none)!important;
    background-size:100% 100%,cover!important;
    background-position:center,right center!important
}
.grid>.card:nth-child(-n+2):hover {
    border-color:#1376BA!important
}
/* Layout-Test: 3 Top-Module + 18 weitere = 21 Kacheln. */
#content>.grid {
    grid-template-columns:repeat(6,minmax(0,1fr));
    gap:14px;
    max-width:1600px;
    margin-top:22px
}
#content>.grid>.card {
    min-height:105px;
    padding:14px 15px;
    gap:11px;
    border-radius:15px
}
#content>.grid>.card .icon {
    width:47px;
    height:47px;
    flex-basis:47px;
    font-size:25px;
    border-radius:10px
}
#content>.grid>.card strong {
    font-size:16px
}
#content>.grid>.card span {
    font-size:12px;
    margin-top:4px
}
#content>.grid>.card:nth-child(-n+3) {
    grid-column:span 2;
    min-height:145px;
    overflow:hidden!important;
    isolation:isolate;
    background:rgba(255,255,255,.12)!important
}
#content>.grid>.card:nth-child(-n+3) .icon {
    width:74px;
    height:74px;
    flex-basis:74px;
    font-size:36px
}
#content>.grid>.card:nth-child(-n+3) strong {
    font-size:22px
}
#content>.grid>.card:nth-child(-n+3) span {
    font-size:14px
}
#content>.grid>.card:nth-child(-n+3)::after {
    content:"";
    display:block;
    position:absolute;
    inset:0;
    border-radius:13px;
    pointer-events:none;
    z-index:0;
    transform:none!important;
    background-image:linear-gradient(90deg,rgba(255,255,255,.98),rgba(255,255,255,.92) 35%,rgba(255,255,255,.58) 58%,rgba(255,255,255,0) 86%),var(--module-photo,none)!important;
    background-size:100% 100%,cover;
    background-position:center,right center;
    background-repeat:no-repeat
}
#content>.grid>.card:nth-child(-n+3)>.icon,#content>.grid>.card:nth-child(-n+3)>.card-copy {
    position:relative;
    z-index:1
}
@media(max-width:1150px) {
    #content>.grid {
        grid-template-columns:repeat(3,minmax(0,1fr))
    }
    #content>.grid>.card:nth-child(-n+3) {
        grid-column:span 1
    }
}
@media(max-width:650px) {
    #content>.grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:10px
    }
    #content>.grid>.card:nth-child(-n+3) {
        grid-column:span 2
    }
}
/* Testanpassung: keine reservierte untere Navigation; kleinere Module milchig-transparent. */

.content {
    padding-bottom:12px
}
#content>.grid {
    margin-bottom:0
}
#content>.grid>.card:nth-child(n+4) {
    background:rgba(255,255,255,.24)!important;
    backdrop-filter:blur(5px) saturate(110%)
}
#content>.grid>.card:nth-child(n+4):hover {
    background:rgba(255,255,255,.24)!important
}
/* Lab 02 – compact command rails; no changes to module layout */
.lab-left {
    position:fixed;
    z-index:8;
    left:8px;
    top:112px;
    display:flex;
    flex-direction:column;
    gap:7px;
    padding:7px;
    background:rgba(240,248,255,.62);
    backdrop-filter:blur(14px);
    border:1px solid rgba(255,255,255,.9);
    border-radius:13px;
    box-shadow:0 8px 20px #17334b25
}
.lab-left button {
    height:39px;
    width:39px;
    border:1px solid transparent;
    border-radius:9px;
    background:rgba(255,255,255,.5);
    color:#23455e;
    font-size:20px
}
.lab-left button:hover,.lab-left button:focus-visible {
    border-color:#1376ba;
    color:#1376ba
}
.lab-left button.active {
    background:#dceefb;
    color:#1376ba
}
.lab-right-toggle {
    position:fixed;
    z-index:10;
    right:8px;
    top:112px;
    width:43px;
    height:43px;
    border:1px solid #ffffffd9;
    border-radius:12px;
    background:rgba(240,248,255,.76);
    backdrop-filter:blur(12px);
    color:#176194;
    font-size:22px
}
.lab-right {
    position:fixed;
    z-index:9;
    right:8px;
    top:164px;
    width:258px;
    padding:18px;
    background:rgba(242,249,255,.83);
    backdrop-filter:blur(17px);
    border:1px solid #fff;
    border-radius:15px;
    box-shadow:0 15px 35px #17334b32;
    color:#243c52;
    transform:translateX(calc(100% + 20px));
    opacity:0;
    pointer-events:none;
    transition:transform .25s ease,opacity .25s ease
}
.lab-right.open {
    transform:none;
    opacity:1;
    pointer-events:auto
}
.lab-right h2 {
    font-size:15px;
    margin:0 0 12px
}
.lab-right p {
    font-size:12px;
    line-height:1.5;
    margin:9px 0
}
.lab-right strong {
    color:#176194
}
.lab-status {
    position:fixed;
    z-index:7;
    bottom:0;
    left:0;
    right:0;
    min-height:25px;
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:5px 15px;
    background:#14263d;
    backdrop-filter:none;
    border-top:0;
    color:#edf3f8;
    font-size:10px;
    pointer-events:none
}
.lab-status .online {
    color:#73d6aa
}
@media(max-width:760px) {
    .lab-left {
        top:95px;
        left:4px;
        padding:3px;
        gap:3px
    }
    .lab-left button {
        height:32px;
        width:32px;
        font-size:16px
    }
    .lab-right-toggle {
        top:95px;
        right:4px
    }
    .lab-right {
        top:145px;
        right:4px;
        width:min(258px,calc(100vw - 50px))
    }
    .lab-status {
        font-size:9px
    }
}
/* Lab 02b: durchgehende, an die Kopfleiste angeschlossene Seiten-Navigation */
.lab-left {
    left:0;
    top:60px;
    bottom:0;
    width:56px;
    padding:15px 7px 8px;
    gap:9px;
    border-radius:0;
    border-left:0;
    border-top:0;
    border-bottom:0;
    border-right:1px solid rgba(255,255,255,.85);
    box-shadow:3px 0 16px rgba(23,51,75,.10);
    background:rgba(240,248,255,.55);
    align-items:center
}
.lab-left button {
    flex:0 0 39px
}
.lab-right-toggle {
    right:0;
    top:53px;
    border-radius:0 0 0 12px
}
@media(max-width:760px) {
    .lab-left {
        left:0;
        top:60px;
        bottom:0;
        width:42px;
        padding:9px 4px;
        gap:7px
    }
    .lab-left button {
        flex-basis:32px
    }
}
/* Lab 02c: durchgehende Seitenleiste, Haupt- und Fußbereich, Inhalt daneben */
.lab-left {
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    top:60px;
    bottom:0;
    box-sizing:border-box
}
.lab-nav-primary,.lab-nav-secondary {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:9px;
    width:100%
}
.lab-left button {
    flex:0 0 39px
}
.shell {
    padding-left:56px!important;
    box-sizing:border-box
}
.lab-left {
    z-index:6
}
.lab-status {
    padding-left:70px
}
@media(max-width:760px) {
    .shell {
        padding-left:42px!important
    }
    .lab-status {
        padding-left:47px
    }
    .lab-left button {
        flex-basis:32px
    }
    .lab-nav-primary,.lab-nav-secondary {
        gap:5px
    }
}
/* Lab 03: Globale Icon-Schnellstartleiste, identische Modulquelle wie Startkacheln */
.lab-left {
    display:flex;
    flex-direction:column;
    justify-content:flex-start;
    gap:0;
    padding:7px 5px 6px;
    overflow:visible
}
.quick-fixed,.quick-bottom,.quick-modules {
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:4px;
    width:100%
}
.lab-left button {
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 36px;
    width:40px;
    height:36px;
    padding:0;
    border:1px solid transparent;
    border-radius:8px;
    background:transparent;
    color:#d5e0e9;
    font-size:19px;
    line-height:1
}

.quick-modules svg [stroke]:not([stroke="none"]) {
    stroke:currentColor;
}
.lab-left button:hover,.lab-left button:focus-visible {
    background:rgba(255,255,255,.12);
    border-color:transparent;
    color:#ffffff
}
.lab-left button.active {
    background:transparent;
    color:#6ec1f3;
    border-color:transparent
}
.quick-divider {
    width:32px;
    height:1px;
    margin:9px auto;
    background:rgba(225,236,245,.35);
    flex-shrink:0
}
.quick-modules {
    flex:1;
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
    scrollbar-color:#9db6ca transparent;
    overscroll-behavior:contain
}
.quick-bottom {
    padding-top:7px;
    border-top:1px solid rgba(225,236,245,.35);
    flex-shrink:0
}
@media(max-width:760px) {
    .lab-left {
        padding:5px 2px
    }
    .lab-left button {
        width:34px;
        height:32px;
        flex-basis:32px;
        font-size:17px
    }
    .quick-divider {
        width:26px;
        margin:6px auto
    }
}
.department-grid>.card:nth-child(-n+2) {
    grid-column:auto;
    min-height:144px
}
.department-grid>.card:nth-child(-n+2) .icon {
    width:72px;
    height:72px;
    flex-basis:72px;
    font-size:35px
}
.department-grid>.card:nth-child(-n+2)::after {
    display:none
}
.department-grid .card strong {
    font-size:clamp(15px,1.35vw,20px)
}
@media(max-width:900px) {
    .department-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
}
@media(max-width:540px) {
    .department-grid {
        grid-template-columns:1fr
    }
}
/* Schnellstart: Darstellung der Suche (zuvor Inline-Styles). */
#quick-search {
    width: 100%;
    margin: 9px 0;
    padding: 9px;
    border: 1px solid #9db6ca;
    border-radius: 7px;
}
.quick-search-result {
    display: block;
    width: 100%;
    text-align: left;
    padding: 7px;
    margin: 3px 0;
    border: 1px solid #c6d8e5;
    border-radius: 6px;
    background: #ffffffa8;
    color: #23455e;
}

/* Application-Layout: Kopf- und Tab-Leiste volle Breite, Arbeitsbereich neben der Seitenleiste. */
.shell {
    padding-left: 0 !important;
}

.shell > .content {
    margin-left: 56px;
    min-width: 0;
}

@media (max-width: 760px) {
    .shell > .content {
        margin-left: 42px;
    }
}

/* Kleines Logo als Home-Schalter in der Identitätsleiste. */
.logo-home {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex:0 0 56px;
    width:56px;
    height:44px;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    cursor:pointer;
}
.logo-home img {
    display:block;
    width:42px;
    height:42px;
}
.logo-home:hover,
.logo-home:focus-visible {
    background:transparent;
}

/* Einheitlicher Anwendungsrahmen: Identitaetsband vollbreit, Logo und Navigation nahtlos. */
.shell > .identity-strip {
    margin-left: 0;
    padding-left: 13px;
}

.shell > .top {
    margin-left: 56px;
    background: rgba(246,248,250,.78);
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.lab-left {
    background: #14263d;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 0;
    box-shadow: none;
}

@media (max-width: 760px) {
    .shell > .identity-strip {
        margin-left: 0;
    }

    .shell > .top {
        margin-left: 42px;
    }
}

/* Register sind mit dem Arbeitsbereich verbunden, nicht als Kapsel abgesetzt. */
.top,
.tabs {
    overflow: visible;
}

.tabs {
    align-items: flex-end;
    gap: 3px;
    padding: 0;
}

.tab,
.tab.active {
    height: 34px;
    min-height: 34px;
    border: 0;
    border-radius: 2px 2px 0 0;
    box-shadow: none;
}

.tab.active {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,.86);
    box-shadow: inset 0 -2px 0 #2689c6;
}

.tab:not(.active) {
    background: transparent;
}

.tab:not(.active):hover {
    background: rgba(255,255,255,.5);
}

/* Workstation-Test: links My Office, rechts Organization, Arbeitsbereich dazwischen. */
.vertical-panel {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding:7px 5px 6px;
    background:#0d1928;
    border-left:1px solid #293e54;
}
.lab-organization {
    position:fixed;
    z-index:8;
    top:68px;
    right:0;
    bottom:0;
    width:58px;
}
.organization-modules {
    display:flex;
    flex:1;
    min-height:0;
    width:100%;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    overflow-y:auto;
    overflow-x:hidden;
    scrollbar-width:thin;
}
.vertical-panel button {
    display:flex;
    flex:0 0 36px;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    height:36px;
    padding:0 10px;
    border:none;
    border-radius:0;
    background:transparent;
    color:#d5e0e9;
    font-size:13px;
    white-space:nowrap;
}
.vertical-panel button:has(span) { justify-content:flex-start; }
.vertical-panel button:hover,
.vertical-panel button:focus-visible {
    background:rgba(255,255,255,.12);
    color:#fff;
}
.quick-modules svg,
.organization-modules svg {
    display:block;
    width:16px;
    height:16px;
    flex-shrink:0;
    color:inherit;
}
.vertical-panel svg [stroke]:not([stroke="none"]) { stroke:currentColor; }
.lab-organization .organization-about {
    flex-shrink:0;
    border-top:1px solid rgba(225,236,245,.35);
}
.shell > .content { margin-right:56px; }
.lab-right {
    right:64px;
    top:60px;
    z-index:11;
}
.lab-right-toggle {
    right:56px;
    top:53px;
    z-index:10;
}
@media(max-width:760px) {
    .lab-organization {
        width:42px;
        padding:5px 2px;
    }
    .vertical-panel button { height:32px; flex-basis:32px; }
    .shell > .content { margin-right:42px; }
    .lab-right { right:46px; }
    .lab-right-toggle { right:42px; }
}

/* Application Header */
.identity-name {
    gap:12px;
    margin-left:-13px;
}
.identity-brand {
    display:flex;
    flex-direction:column;
    gap:5px;
    margin-left:2px;
}
.identity-brand strong {
    font-size:19px;
    line-height:1;
    letter-spacing:.12em;
}
.identity-brand .identity-sub {
    display:block;
    margin:0;
    font-size:9px;
}
.identity-right {
    gap:18px;
    font-size:11px;
}
#location { color:#d0dbe5; }
.lab-right { top:100px; }
.lab-right-toggle { top:94px; }
@media(max-width:760px) {
 .identity-name { margin-left:-8px; }
 .logo-home {
     flex-basis:42px;
     width:42px;
 }
 .logo-home img {
     width:34px;
     height:34px;
 }
 .identity-brand strong { font-size:15px; }
 .identity-brand .identity-sub {
     display:block;
     font-size:7px;
 }
 .identity-right {
     gap:7px;
     font-size:9px;
 }
 .lab-left,.lab-organization { top:60px; }
 .lab-right { top:100px; }
 .lab-right-toggle { top:94px; }
}

/* Kopfzeile: Logo zentriert über My Office; Wortmarke bündig am Workspace. */
.identity-strip { position:relative; }
.identity-name {
    width:56px;
    flex:0 0 56px;
    justify-content:center;
    margin-left:-13px;
}
.identity-brand {
    position:absolute;
    left:56px;
    top:50%;
    transform:translateY(-50%);
}
.identity-right { margin-left:auto; }
@media(max-width:760px) {
 .identity-name {
     width:42px;
     flex-basis:42px;
     margin-left:-8px;
 }
 .identity-brand { left:42px; }
}


/* Getrennte Kopfmarken: privater Workspace links, rechts. */
.workspace-logo {
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:44px;
    color:#e4edf5;
}
.identity-brand { left:56px; }
.identity-brand strong {
    font-size:16px;
    letter-spacing:.055em;
    white-space:nowrap;
}
.identity-brand {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:3px;
}
.identity-brand small {
    display:block;
    color:#b8c9d9;
    font-size:9px;
    font-weight:400;
    letter-spacing:-.025em;
    line-height:1.15;
    white-space:nowrap;
}

/* Future meets Classic: separate information control and rich panel. */
/* Brand and info symbol follow actual text width instead of hardcoded coordinates. */
.identity-strip .identity-brand {
    position:relative;
    left:auto;
    top:auto;
    transform:none;
    margin-left:0;
    flex:0 0 auto;
}
.identity-strip .workspace-philosophy {
    position:relative;
    left:auto;
    top:auto;
    flex:0 0 48px;
    width:48px;
    height:60px;
    margin-left:10px;
}
.identity-strip .workspace-philosophy-trigger {
    width:42px;
    height:42px;
}

.identity-strip {
    z-index:80;
    overflow:visible;
}
.identity-brand {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    gap:5px;
    overflow:visible;
}
.identity-brand > strong { display:block; }
.identity-brand > small {
    display:block;
    width:100%;
    font-size:10px;
    line-height:1.2;
    color:#d4e1ed;
    letter-spacing:0;
    white-space:nowrap;
    text-align:justify;
    text-align-last:justify;
}
.workspace-philosophy {
    position:absolute;
    left:calc(56px + 263px + 12px);
    top:0;
    height:60px;
    width:56px;
    display:flex;
    align-items:center;
    justify-content:center;
}
.workspace-philosophy-trigger {
    display:flex;
    align-items:center;
    justify-content:center;
    width:56px;
    height:60px;
    border:0;
    background:transparent;
    color:#d8e7f2;
    cursor:pointer;
    padding:0;
}
.workspace-philosophy-trigger:hover,.workspace-philosophy-trigger:focus-visible {
    color:#a8dbf5;
    outline-offset:-6px;
}
.workspace-philosophy::after { content:none; }
.workspace-philosophy-panel {
    display:none;
    position:absolute;
    z-index:200;
    top:calc(50% + 21px);
    left:0;
    box-sizing:border-box;
    width:min(600px,calc(100vw - 100px));
    max-height:calc(100dvh - 110px);
    overflow-y:auto;
    padding:0 30px 25px;
    border:1px solid #506b84;
    border-radius:0;
    background:#14263d;
    color:#edf3f9;
    box-shadow:0 24px 65px rgba(1,10,24,.66);
    cursor:default;
    white-space:normal;
    font-family:"Segoe UI",Arial,sans-serif;
}
.workspace-philosophy.is-open .workspace-philosophy-panel {
    display:flex;
    flex-direction:column;
    gap:15px;
}
.workspace-philosophy-close {
    position:absolute;
    top:8px;
    right:8px;
    z-index:2;
    width:32px;
    height:32px;
    padding:0;
    border:1px solid #70869a;
    border-radius:0;
    background:#14263d;
    color:#fff;
    font:26px/1 "Segoe UI",Arial,sans-serif;
    cursor:pointer;
}
.workspace-philosophy-close:hover { background:#25435e; }
.workspace-philosophy-photo {
    width:calc(100% + 60px);
    height:180px;
    margin:0 -30px 7px;
    display:block;
    object-fit:cover;
    object-position:center;
    border-radius:0;
}
/* Information Document: A4 proportions, inset imagery and paged content. */
.workspace-philosophy-panel {
    width:min(530px,calc(100vw - 90px));
    aspect-ratio:210/297;
    max-height:calc(100dvh - 100px);
    overflow:hidden;
    padding:28px 30px 16px;
    gap:0 !important;
}
.workspace-philosophy-pages {
    display:block;
    flex:1 1 auto;
    min-height:0;
    overflow-y:auto;
}
.workspace-philosophy-page {
    display:flex;
    flex-direction:column;
    gap:15px;
}
.workspace-philosophy-page[hidden] { display:none !important; }
.workspace-philosophy-photo {
    width:100%;
    height:180px;
    margin:0 0 8px;
    object-fit:cover;
}
.workspace-philosophy-pagination {
    display:flex;
    flex:0 0 auto;
    align-items:center;
    justify-content:center;
    gap:18px;
    padding-top:12px;
    margin-top:12px;
    border-top:1px solid #496078;
    font-size:12px;
    color:#c2dff0;
}
.workspace-philosophy-pagination button {
    width:30px;
    height:28px;
    padding:0;
    border:1px solid #506b84;
    border-radius:0;
    background:transparent;
    color:#edf3f9;
    cursor:pointer;
    font-size:20px;
}
.workspace-philosophy-pagination button:disabled {
    opacity:.35;
    cursor:default;
}
.workspace-philosophy-close {
    top:6px;
    right:6px;
}
@media(max-width:760px) { .workspace-philosophy-panel { width:min(480px,calc(100vw - 24px)); padding:25px 20px 14px; } .workspace-philosophy-photo { width:100%; margin:0 0 8px; } }
.workspace-philosophy-eyebrow {
    font-size:10px;
    letter-spacing:.16em;
    color:#99c9e9;
    font-weight:600;
}
.workspace-philosophy-heading {
    font-size:28px;
    line-height:1.15;
    font-weight:600;
    color:#fff;
    letter-spacing:-.025em;
}
.workspace-philosophy-lead {
    font-size:16px;
    line-height:1.5;
    color:#c2dff0;
    font-weight:400;
}
.workspace-philosophy-rule {
    height:1px;
    background:linear-gradient(90deg,#6ba3c9,transparent);
}
.workspace-philosophy-section {
    display:flex;
    flex-direction:column;
    gap:6px;
}
.workspace-philosophy-section b {
    font-size:14px;
    font-weight:600;
    color:#f3f8fd;
}
.workspace-philosophy-section > span {
    font-size:13px;
    line-height:1.7;
    color:#d5e1eb;
}
.workspace-philosophy-conclusion {
    padding-top:15px;
    border-top:1px solid #496078;
    font-size:15px;
    line-height:1.5;
    font-weight:600;
    color:#b5dcf1;
}
.workspace-philosophy-feedback {
    font-size:11px;
    line-height:1.5;
    color:#a3b9ca;
}
@media(max-width:760px) { .workspace-philosophy { left:calc(42px + 182px + 5px); width:42px; } .workspace-philosophy-trigger { width:42px; } .workspace-philosophy-trigger svg { width:32px; height:32px; } .workspace-philosophy-panel { width:min(480px,calc(100vw - 24px)); padding:0 20px 20px; } .workspace-philosophy-photo { width:calc(100% + 40px); margin:0 -20px 7px; } .identity-brand > small { font-size:7px; } }

.header-brand {
    display:flex;
    flex-direction:column;
    gap:5px;
    align-items:flex-end;
    margin-left:18px;
    color:#fff;
    white-space:nowrap;
}
.header-brand strong {
    font-size:19px;
    line-height:1;
    letter-spacing:.12em;
}
.header-brand small {
    font-size:9px;
    color:#d0dbe5;
    letter-spacing:.04em;
}
.organization-toggle {
    display:flex;
    flex:0 0 56px;
    align-items:center;
    justify-content:center;
    width:56px;
    height:60px;
    padding:0;
    margin-right:-13px;
    border:0;
    background:transparent;
    cursor:pointer;
}
.organization-toggle img {
    width:42px;
    height:42px;
}
.organization-toggle:hover { background:rgba(255,255,255,.09); }
@media(max-width:760px) {
 .workspace-logo { width:42px; }
 .workspace-logo svg {
     width:34px;
     height:34px;
 }
 .identity-brand strong { font-size:11px; }
 .header-brand {
     margin-left:8px;
     gap:3px;
 }
 .header-brand strong { font-size:14px; }
 .header-brand small { font-size:7px; }
 .organization-toggle {
     flex-basis:42px;
     width:42px;
     margin-right:-8px;
 }
 .organization-toggle img {
     width:34px;
     height:34px;
 }

}

/* Icon-Leisten ein-/ausblenden; kein breites Navigationsmenü. */
.workspace-logo {
    border:0;
    padding:0;
    background:transparent;
    cursor:pointer;
}
.workspace-logo:hover { background:rgba(255,255,255,.09); }
.left-rail-hidden .lab-left, .right-rail-hidden .lab-organization { display:none; }
.left-rail-hidden .shell > .content { margin-left:0; }
.right-rail-hidden .shell > .content { margin-right:0; }
.left-rail-hidden .shell > .top { margin-left:0; }
@media(max-width:760px) {

}
.rich-tooltip {
    position:fixed;
    z-index:30;
    width:min(340px,calc(100vw - 16px));
    padding:18px;
    border:1px solid #496078;
    border-radius:13px;
    background:#14263d;
    color:#edf3f9;
    box-shadow:0 16px 40px #06172888;
    font-size:13px;
    white-space:normal;
}
.rich-tooltip[hidden], .rich-tooltip-conversation[hidden] { display:none!important; }
.rich-tooltip-close {
    position:absolute;
    top:6px;
    right:9px;
    border:0;
    background:none;
    color:#dce6f0;
    font-size:24px;
    cursor:pointer;
}
.rich-tooltip-person {
    display:flex;
    align-items:center;
    gap:13px;
    padding-right:15px;
}
.rich-tooltip-person > div {
    display:flex;
    flex-direction:column;
    gap:6px;
    min-width:0;
}
.rich-tooltip-person strong { font-size:16px; }
.rich-tooltip-person small {
    color:#b8ccdd;
    font-size:11px;
}
.rich-tooltip-portrait {
    width:94px;
    height:110px;
    object-fit:cover;
    border-radius:9px;
    background:#314a64;
}
.rich-tooltip-status {
    color:#a8d5ba;
    font-size:11px;
}
.rich-tooltip p {
    line-height:1.5;
    margin:14px 0;
}
.rich-tooltip-call {
    width:100%;
    padding:10px;
    border:0;
    border-radius:8px;
    background:#297fb2;
    color:white;
    font-weight:600;
    cursor:pointer;
}
.rich-tooltip-conversation {
    margin-top:12px;
    padding-top:10px;
    border-top:1px solid #496078;
}
.rich-tooltip-questions {
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.rich-tooltip-questions button {
    padding:7px 9px;
    border:1px solid #58718a;
    border-radius:6px;
    background:#233c55;
    color:white;
    cursor:pointer;
}
.rich-tooltip-conversation small {
    display:block;
    margin-top:12px;
    color:#aebfd0;
}

/* Rich information cards for both header logos. */
.rich-tooltip .rich-tooltip-call[hidden] { display:none!important; }
.rich-tooltip.rich-tooltip-overview .rich-tooltip-person { align-items:flex-start; }
.rich-tooltip.rich-tooltip-overview .rich-tooltip-portrait {
    width:112px;
    height:94px;
    object-fit:cover;
}
.rich-tooltip.rich-tooltip-overview .rich-tooltip-status {
    color:#b5d9f1;
    letter-spacing:.06em;
}
@media(max-width:760px) {
 .rich-tooltip {
     box-sizing:border-box;
     max-height:calc(100dvh - 80px);
     overflow-y:auto;
 }
}

/* : klickbare Kopfmarken ohne Hover-Farbwechsel */
.identity-strip .identity-brand,.identity-strip .header-brand{cursor:pointer}
.identity-strip .workspace-logo:hover,.identity-strip .organization-toggle:hover,.identity-strip .identity-brand:hover,.identity-strip .header-brand:hover{background:transparent!important}

/* PHP-generierte Ansichten und Tabs nur bei Aktivierung anzeigen. */
[hidden] { display: none !important; }

/* Workspace navigation: directly below the identity strip, server-rendered by .php. */
.workspace-navigation {
    display:flex;
    align-items:stretch;
    gap:0;
    min-height:76px;
    overflow-x:auto;
    background:rgba(15,28,43,.94);
    color:#eef5fb;
    border-bottom:1px solid rgba(255,255,255,.15);
}


.navigation-management-name,
.workspace-layout .workspace-panel-heading {
    font-size:12px;
    line-height:24px;
    color:#fff;
}




.navigation-module {
    cursor:pointer;
    padding:5px 8px;
    background:transparent;
    color:inherit;
    border:none;
    border-radius:0;
    font:inherit;
    font-size:12px;
}
.navigation-module:hover, .navigation-module:focus-visible { background:rgba(255,255,255,.13); }


/* Builder module icons: compact, consistent SVG sizing. */
.navigation-module svg {
    display:block;
    width:24px;
    height:24px;
    stroke:currentColor;
}
.navigation-module {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:38px;
    min-height:38px;
}

/* Custom Builder SVGs and existing Rich Tooltip preview. */
.navigation-module svg { stroke-width:1.05; }
.rich-tooltip.rich-tooltip-overview .rich-tooltip-portrait[src^="data:image/svg+xml"] {
    object-fit:contain;
    padding:16px;
    box-sizing:border-box;
    background:rgba(79,132,172,.13);
}

/* Digital Employee: Rich Tooltip contact actions and resizable demo chat. */
.employee-contacts {
    display:flex;
    gap:7px;
    flex-wrap:wrap;
    margin-top:12px;
}
.employee-contacts[hidden], .employee-chat[hidden] { display:none!important; }
.employee-contacts button {
    border:1px solid #52748d;
    background:#26455e;
    color:#f1f7fd;
    padding:8px 9px;
    border-radius:7px;
    cursor:pointer;
    font:inherit;
    font-size:12px;
}
.employee-contacts button:disabled {
    opacity:.48;
    cursor:not-allowed;
}
.employee-contacts [data-employee-live-chat] {
    background:#227aab;
    border-color:#329bce;
}
.employee-chat {
    position:fixed;
    right:22px;
    bottom:22px;
    width:min(470px,calc(100vw - 32px));
    height:min(590px,calc(100dvh - 44px));
    resize:both;
    overflow:hidden;
    display:flex;
    flex-direction:column;
    z-index:70;
    background:#122638;
    border:1px solid #52748d;
    border-radius:13px;
    box-shadow:0 18px 65px rgba(0,0,0,.5);
    color:#eff7ff;
}
.employee-chat.expanded {
    width:min(920px,calc(100vw - 32px));
    height:min(780px,calc(100dvh - 44px));
}
.employee-chat-header {
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:11px 14px;
    background:#1b364b;
}
.employee-chat-header button {
    background:none;
    color:inherit;
    border:0;
    font-size:22px;
    cursor:pointer;
    margin-left:12px;
}
.employee-chat-office {
    position:relative;
    height:46%;
    min-height:150px;
    overflow:hidden;
    background:#21394e;
}
.employee-chat-office > img {
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:.85;
}
.employee-chat-avatar {
    position:absolute;
    left:50%;
    bottom:28%;
    transform:translateX(-50%);
    font-size:38px;
    color:#b4e9ff;
    animation:employee-welcome 1.6s ease-out both;
}
.employee-chat-office p {
    position:absolute;
    bottom:8px;
    left:12px;
    right:12px;
    padding:10px;
    background:rgba(10,25,39,.85);
    border-radius:8px;
}
@keyframes employee-welcome { from { opacity:0; transform:translate(-50%,18px); } to { opacity:1; transform:translate(-50%,0); } }
.employee-chat-messages {
    flex:1;
    min-height:60px;
    overflow:auto;
    padding:12px;
    font-size:13px;
}
.employee-chat-form {
    display:flex;
    gap:8px;
    padding:10px;
    border-top:1px solid #36566c;
}
.employee-chat-form input {
    flex:1;
    min-width:0;
    padding:9px;
    background:#203a4f;
    color:white;
    border:1px solid #4b6b81;
    border-radius:6px;
}
.employee-chat-form button {
    border:0;
    border-radius:6px;
    padding:8px 13px;
    background:#267eae;
    color:white;
    cursor:pointer;
}

/* Modulansichten belegen den gesamten Arbeitsbereich unterhalb der Tabs. */
.shell > .content:has(> [data-view]:not([hidden]) .module-frame) {
    padding:0;
    overflow:hidden;
    background:#fff;
}
.content > [data-view]:has(> .module-frame) {
    width:100%;
    height:100%;
    min-height:0;
}
.module-frame {
    display:block;
    width:100%;
    height:100%;
    min-height:0;
    border:0;
    margin:0;
    padding:0;
    background:#fff;
}

/* Modulfenster und iFrame: konsequent eckig. */
.shell > .content:has(> [data-view]:not([hidden]) .module-frame),
.content > [data-view]:has(> .module-frame),
.module-frame { border-radius:0 !important; }

/* Shared module layout */
html:has(body.ui-module),body.ui-module {
    width:100%;
    min-height:100%;
    height:100%;
    margin:0;
    background:var(--work-bg);
    color:var(--work-text);
}
.ui-module .ui-app {
    min-height:100%;
    display:flex;
    flex-direction:column;
    font:14px/1.5 "Segoe UI",Arial,sans-serif;
}
.ui-module .ui-tabs {
    display:flex;
    gap:0;
    min-height:43px;
    background:#e8edf2;
    border-bottom:1px solid #b8c4d0;
}
.ui-module .ui-tabs button {
    min-width:110px;
    padding:9px 20px;
    border:0;
    border-right:1px solid #cbd5df;
    border-radius:0;
    background:transparent;
    color:#314c63;
    font-weight:500;
}
.ui-module .ui-tabs button.active {
    background:#fff;
    color:#183b58;
    font-weight:600;
    box-shadow:inset 0 -2px #39749b;
}
.ui-module .ui-content {
    flex:1;
    background:#fff;
    padding:30px 38px;
}
.ui-module .ui-view[hidden] { display:none!important; }
.ui-module .ui-view h1 {
    margin:0 0 6px;
    color:#203b53;
    font-size:23px;
    font-weight:600;
    text-shadow:none;
}
.ui-module .ui-intro {
    margin:0 0 26px;
    color:#607184;
}
.ui-module .ui-form { max-width:850px; }
.ui-module .ui-field {
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-bottom:20px;
}
.ui-module .ui-field label {
    color:#344b60;
    font-weight:600;
}
.ui-module .ui-field input,.ui-module .ui-field textarea {
    width:100%;
    padding:10px 12px;
    border:1px solid #b9c7d3;
    border-radius:0;
    background:#fff;
    color:#263544;
    font:inherit;
}
.ui-module .ui-field textarea { resize:vertical; }
.ui-module .ui-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:12px;
    padding-top:7px;
}
.ui-module .ui-actions button {
    padding:9px 22px;
    border:1px solid #aab9c6;
    border-radius:0;
    background:#e9edf1;
    color:#2c455b;
}
.ui-module .ui-actions .ui-primary {
    background:#245a7d;
    border-color:#245a7d;
    color:#fff;
}
.ui-module .ui-actions button:disabled {
    opacity:.5;
    cursor:not-allowed;
}
.ui-module .ui-actions span {
    color:#718194;
    font-size:12px;
}
@media(max-width:760px) { .ui-module .ui-content { padding:20px 16px; } .ui-module .ui-tabs button { min-width:0; flex:1; padding:9px; } }

/* Shared lookup and sortable table */
.ui-module .ui-choice {
    display:flex;
    gap:22px;
    flex-wrap:wrap;
    margin:3px 0 12px;
}
.ui-module .ui-choice label {
    display:inline-flex;
    align-items:center;
    gap:7px;
    font-weight:400;
    cursor:pointer;
}
.ui-module .ui-choice input[type=radio],.ui-module .ui-sortable-table input[type=checkbox] {
    width:auto;
    margin:0;
}
.ui-module .ui-lookup { position:relative; }
/* Reserve the lookup status line and keep results outside the form flow. */
.ui-module .ui-lookup [data-ui-status] { display:block; min-height:1.35em; line-height:1.35; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ui-module .ui-lookup .ui-results { position:absolute; top:calc(100% - 1.35em); left:0; right:0; z-index:30; }
.ui-module .ui-content,.ui-module .ui-fields-secondary { scrollbar-gutter:stable; }
.ui-module .ui-results {
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:10;
    max-height:240px;
    overflow-y:auto;
    background:#fff;
    border:1px solid #aebdcc;
    border-radius:0;
    box-shadow:0 5px 14px #22334422;
}
.ui-module .ui-results[hidden],.ui-module [data-ui-choice-panel][hidden] { display:none!important; }
.ui-module .ui-result {
    display:block;
    width:100%;
    padding:9px 12px;
    text-align:left;
    border:0;
    border-bottom:1px solid #edf1f4;
    border-radius:0;
    background:#fff;
    color:#273e52;
    cursor:pointer;
    font:inherit;
}
.ui-module .ui-result:hover,.ui-module .ui-result:focus { background:#e9f2f8; }
.ui-module .ui-lookup small,.ui-module [data-ui-choice-panel] small,.ui-module .ui-hint {
    color:#6e8090;
    font-size:12px;
}
.ui-module .ui-table-section {
    margin-top:28px;
    padding-top:22px;
    border-top:1px solid #d9e1e8;
}
.ui-module .ui-sortable-table {
    width:100%;
    border-collapse:collapse;
    margin-top:14px;
}
.ui-module .ui-sortable-table th {
    background:#eef2f5;
    font-weight:600;
}
.ui-module .ui-sortable-table td,.ui-module .ui-sortable-table th {
    padding:9px 10px;
    text-align:left;
    border-bottom:1px solid #e3e9ee;
}
.ui-module .ui-sortable-table td small {
    display:block;
    color:#718194;
    font-size:11px;
}
.ui-module .ui-sortable-table button {
    border:1px solid #c5d1da;
    border-radius:0;
    background:#fff;
    color:#2c455b;
    padding:3px 8px;
    margin-right:4px;
    cursor:pointer;
}
.ui-module .ui-sortable-table button:disabled {
    opacity:.35;
    cursor:default;
}
.ui-module .ui-drag {
    cursor:grab;
    user-select:none;
}

/* Shared two-column form layout */
.ui-module .ui-app {
    height:100dvh;
    min-height:0;
    overflow:hidden;
}
.ui-module .ui-tabs { flex:0 0 auto; }
.ui-module .ui-content {
    flex:1 1 auto;
    min-height:0;
    overflow:auto;
}
.ui-module .ui-form {
    max-width:none;
    width:100%;
}
.ui-module .ui-columns {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    gap:0;
    min-height:0;
}
.ui-module .ui-fields-main {
    min-width:0;
    padding-right:28px;
}
.ui-module .ui-fields-secondary {
    min-width:0;
    padding-left:28px;
    border-left:1px solid #d7e0e7;
    max-height:calc(100dvh - 245px);
    overflow-y:auto;
    overflow-x:hidden;
}
.ui-module .ui-table-section {
    margin-top:0;
    padding-top:0;
    border-top:0;
}
.ui-module .ui-sortable-table { width:100%; }
.ui-module .ui-actions {
    margin-top:24px;
    border-top:1px solid #e3e9ee;
    padding-top:18px;
}
@media(max-width:900px) {
  .ui-module .ui-columns { grid-template-columns:minmax(0,1fr); }
  .ui-module .ui-fields-main { padding-right:0; }
  .ui-module .ui-fields-secondary {
      padding-left:0;
      border-left:0;
      border-top:1px solid #d7e0e7;
      padding-top:20px;
      max-height:none;
      overflow:visible;
  }
}


:root { --work-bg:#f8f6f0; --work-paper:#fffefa; --work-text:#302e29; --work-muted:#69645a; --work-line:#cdbb91; --work-accent:#826b39; --work-selected:#eee7d7; }
/* Shared compact form theme */
.ui-module .ui-content { background:var(--work-bg); color:var(--work-text); padding:14px 23px; }
.ui-module .ui-view h1 { font-size:21px; color:var(--work-text); margin:0 0 3px; }
.ui-module .ui-intro { font-size:12px; color:var(--work-muted); margin:0 0 11px; }
.ui-module .ui-form { background:transparent; border:0; padding:0; }
.ui-module .ui-columns { display:grid; grid-template-columns:1fr 1fr; gap:15px; }
.ui-module .ui-fields-main,.ui-module .ui-fields-secondary { padding:15px 18px; background:var(--work-paper); border:1px solid var(--work-line);  color:var(--work-text); }

.ui-module .ui-field { margin-bottom:11px; }
.ui-module .ui-field label { color:var(--work-text); font-size:12px; }
.ui-module .ui-choice { display:flex; gap:16px; margin:6px 0; padding-bottom:5px; border-bottom:1px solid var(--work-line); }
.ui-module .ui-choice label { font-size:11px; }
.ui-module input[type=radio] { accent-color:var(--work-accent); }
.ui-module .ui-field input:not([type=radio]):not([type=hidden]),.ui-module .ui-field textarea { width:100%; min-height:33px; padding:7px 10px; background:var(--work-paper); color:var(--work-text); border:1px solid var(--work-line); border-radius:2px; }
.ui-module .ui-field select { background:var(--work-paper); color:var(--work-text); border:1px solid var(--work-line); padding:7px 10px; font:inherit; }
.ui-module .ui-field textarea { height:57px; min-height:57px; }
.ui-module .ui-field small,.ui-module .ui-hint { color:var(--work-muted); font-size:10px; line-height:1.35; }
.ui-module .ui-sortable-table { width:100%; border-collapse:collapse; color:var(--work-text); }
.ui-module .ui-sortable-table th { background:var(--work-selected); padding:8px; font-size:11px; }
.ui-module .ui-sortable-table td { padding:8px; border-bottom:1px solid var(--work-line); }
.ui-module .ui-actions { margin-top:11px; padding-top:10px; border-top:1px solid var(--work-line); }
.ui-module .ui-actions button { border-radius:2px; padding:8px 16px; }
.ui-module .ui-actions .ui-primary { background:var(--work-accent); color:#fff; }
.ui-module .ui-results { background:var(--work-paper); color:var(--work-text); border:1px solid var(--work-line); }
@media(max-width:950px) { .ui-module .ui-columns { grid-template-columns:1fr; } }

/* OFFICE PAGE */

html,body {
    margin:0;
    width:100%;
    height:100%;
    overflow:hidden;
    background:#101820;
    font-family:"Segoe UI",Arial,sans-serif;
}

#office {
    position:fixed;
    inset:0;
    overflow:hidden;
    background:#101820;
}

#office-scene {
    position:absolute;
    inset:0;
    overflow:hidden;
    transform-origin:0 0;
    transition:transform 700ms cubic-bezier(.22,.61,.2,1);
}

#office-photo {
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:fill;
    pointer-events:none;
    user-select:none;
}

#office-screen {
    position:absolute;
    left:49.05%;
    top:59.5%;
    height:9.35%;
    width:auto;
    aspect-ratio:16/9;
    z-index:2;
    overflow:visible;
    background:transparent;
    transform-origin:0 0;
    border-radius:0;
}

/* Innerer Bildschirm: bleibt exakt auf der bisherigen Monitorposition. */
#office-display {
    position:absolute;
    inset:0;
    overflow:hidden;
    background:#071522;
    border-radius:0;
}

/* Rahmenbild über dem Workspace, ohne dessen Bedienung zu blockieren. */
#office-screen::after {
    content:"";
    position:absolute;
    z-index:4;
    inset:-2.7% -1.7% -3.2%;
    background:url("/index.php?image=workspace/monitor_01.png") center / 100% 100% no-repeat;
    pointer-events:none;
}

#office-display iframe {
    position:absolute;
    left:0;
    top:0;
    width:1600px;
    height:900px;
    border:0;
    transform-origin:0 0;
    background:#071522;
}

#office-zoom-target {
    position:absolute;
    left:49.05%;
    top:59.8%;
    height:9.35%;
    width:auto;
    aspect-ratio:16/9;
    z-index:3;
    border:0;
    background:transparent;
    cursor:zoom-in;
    padding:0;
}

#office-zoom-target:focus-visible {
    outline:2px solid #a8e2ff;
}

#office-controls {
    position:fixed;
    z-index:10;
    left:20px;
    top:20px;
    display:flex;
    gap:8px;
}

#office-controls button,#office-controls a {
    border:1px solid rgba(175,210,230,.6);
    border-radius:4px;
    background:rgba(8,28,44,.84);
    color:#fff;
    padding:10px 14px;
    text-decoration:none;
    font:600 13px "Segoe UI",Arial,sans-serif;
    cursor:pointer;
}

#office-back {
    display:none;
}

#office.zoomed #office-back {
    display:inline-block;
}

#office.zoomed #office-foyer {
    display:none;
}

#office.zoomed #office-zoom-target {
    display:none;
}

#office.dragging #office-scene {
    transition:none;
}

#office.zoomed #office-scene {
    cursor:grab;
}

#office.dragging #office-scene {
    cursor:grabbing;
}
@media (prefers-reduced-motion: reduce) {
    #office-scene {
        transition:none;
    }
}



#office-fullscreen {
    display:none;
    position:fixed;
    z-index:20;
    top:20px;
    right:20px;
    padding:10px 14px;
    border:1px solid rgba(175,210,230,.6);
    border-radius:4px;
    background:rgba(8,28,44,.84);
    color:#fff;
    font:600 13px "Segoe UI",Arial,sans-serif;
    cursor:pointer;
}

#office.zoomed #office-fullscreen {
    display:block;
}



/* Central module functions */
.workspace-layout .top {display:flex;align-items:stretch;gap:12px;}
.workspace-layout .top > .tabs {flex:1;min-width:0;overflow-x:auto;}
.module-functions {display:flex;flex:none;align-items:stretch;margin-left:auto;border-left:1px solid #324960;}
.module-functions[hidden] {display:none!important;}
.module-functions .tab:disabled {opacity:.35;cursor:default;}




/* workspace layout */

/* V2 — standalone visual experiment; existing tabs and JS remain intact */
:root { --v2-bg:#080e18; --v2-panel:#101a29; --v2-line:#2a3a50; --v2-accent:#45c3ff; }
html:has(body.workspace-layout),body.workspace-layout { background:var(--v2-bg); color:#edf5ff; }
.workspace-layout .scene { background:radial-gradient(ellipse at 68% 10%,#17324d 0%,transparent 45%),linear-gradient(130deg,#09101c,#0b1626 70%,#101e30); }
.workspace-layout .scene .office-walker { display:none; }
.workspace-layout .shell { padding:0; gap:0; min-height:100vh; }
.workspace-layout .identity-strip { height:68px; min-height:68px; background:#0b1523; border-bottom:1px solid #2b4055; padding:0 25px; }
.workspace-layout .identity-brand strong { color:#fff; font-size:13px; letter-spacing:.11em; }
.workspace-layout .identity-brand small { color:#90a9c2; }
.workspace-layout .header-brand strong { letter-spacing:.16em; color:#fff; }
.workspace-layout .top { background:#101d2d; border:0; border-bottom:1px solid #293e54; box-sizing:border-box; border-radius:0; box-shadow:none; padding:0; height:43px; min-height:43px; margin-bottom:0; }
.workspace-layout .tabs { gap:0; align-self:stretch; align-items:stretch; height:auto; min-height:0; box-sizing:border-box; margin:0; padding:0; }
.workspace-layout .tab,.workspace-layout .tab.active { height:100%; min-height:0; align-self:stretch; margin:0; }
.workspace-layout .tab { background:#111c2c; color:#91abc4; border:0; border-right:1px solid #304055; border-radius:0; padding:10px 19px; font-size:12px; }
.workspace-layout .tab.active { color:#fff; background:#1b3247; box-shadow:inset 0 -3px #39c2ff; font-weight:650; }
.workspace-layout .tab:hover { background:#203950; }
.workspace-layout .close { color:#a8c1d5; }
.workspace-layout .lab-left { left:0; top:68px; bottom:0; width:58px; padding:12px 6px; border:0; border-right:1px solid #293e54; border-radius:0; background:#0d1928; box-shadow:none; backdrop-filter:none; }
.workspace-layout .quick-modules { gap:7px; }
.workspace-layout .lab-left button { width:44px; height:43px; background:transparent; border:0; border-radius:0; color:#a3bdd2; }
.workspace-layout .lab-left button:hover,.workspace-layout .lab-left button.active { background:#1c3c55; color:#4dc6ff; box-shadow:inset 3px 0 #36b8ff; }
.workspace-layout .content { background:var(--work-bg); padding:0; }
.workspace-layout .content [data-view] { color:var(--work-text); }
.workspace-layout .v2-home { padding:clamp(22px,2.5vw,44px); }
.workspace-layout .v2-hero { position:relative; min-height:305px; display:flex; justify-content:space-between; overflow:hidden; border:1px solid #365069; background:linear-gradient(110deg,#12283e,#0d1a2b 58%,#123a56); }
.workspace-layout .v2-hero::before { content:""; position:absolute; inset:0; opacity:.25; background:repeating-linear-gradient(90deg,transparent 0,transparent 79px,#8edbff20 80px); pointer-events:none; }
.workspace-layout .v2-hero-copy { z-index:1; padding:36px 46px; max-width:700px; }
.workspace-layout .v2-kicker { font-size:10px; letter-spacing:.22em; color:#67ceff; font-weight:700; }
.workspace-layout .v2-hero h1 { font-size:clamp(30px,3.8vw,57px); font-weight:600; line-height:1.12; margin:18px 0 13px; text-shadow:none; letter-spacing:-.04em; }
.workspace-layout .v2-hero h1 em { color:#60ccff; font-style:normal; }
.workspace-layout .v2-hero p { max-width:450px; color:#afc5d9; font-size:13px; line-height:1.7; }
.workspace-layout .v2-hero-actions { display:flex; gap:10px; margin-top:22px; }
.workspace-layout .v2-hero-actions button { border:1px solid #357da5; border-radius:2px; padding:11px 16px; color:#fff; background:#146d9d; font-size:12px; }
.workspace-layout .v2-hero-actions button+button { background:transparent; color:#c5e5fa; }
.workspace-layout .v2-hero-visual { position:relative; width:32%; min-width:180px; display:grid; place-items:center; }
.workspace-layout .v2-orbit { width:230px; height:230px; border-radius:50%; border:1px solid #53c9ff77; display:grid; place-items:center; box-shadow:0 0 0 28px #2f9dd714,0 0 0 59px #2f9dd70d,inset 0 0 55px #147cb044; }
.workspace-layout .v2-orbit span { font-size:112px; font-weight:200; color:#85ddff; text-shadow:0 0 38px #2caefb; }
.workspace-layout .v2-orbit-label { position:absolute; bottom:22px; right:25px; font-size:9px; line-height:1.5; letter-spacing:.2em; color:#83a9c8; text-align:right; }
.workspace-layout .v2-label { display:flex; justify-content:space-between; margin:27px 0 13px; color:#a2b8cb; font-size:10px; font-weight:700; letter-spacing:.16em; }
.workspace-layout .v2-label span { color:#527e9e; }
.workspace-layout .v2-shortcuts { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.workspace-layout .v2-shortcuts button { display:flex; flex-direction:column; align-items:flex-start; min-height:140px; padding:20px; background:#121f2f; color:#fff; border:1px solid #30465d; border-radius:2px; text-align:left; }
.workspace-layout .v2-shortcuts button:hover { border-color:#5bcaff; background:#1a3044; }
.workspace-layout .v2-shortcuts button span { font-size:27px; color:#53c8ff; }
.workspace-layout .v2-shortcuts button strong { font-size:14px; margin-top:14px; }
.workspace-layout .v2-shortcuts button small { color:#91a8c1; margin-top:6px; font-size:11px; }
.workspace-layout .v2-bottom { display:flex; justify-content:space-between; align-items:center; padding:24px 30px; margin-top:18px; border:1px solid #293e54; background:linear-gradient(90deg,#101c2c,#0c1624); }
.workspace-layout .v2-bottom h2 { font-size:23px; margin:8px 0; color:#e9f4ff; }
.workspace-layout .v2-bottom p { margin:0; color:#9bb2c7; font-size:12px; }
.workspace-layout .v2-bottom-symbol { font-size:54px; color:#2e7ba6; }
.workspace-layout .lab-info,.workspace-layout .rich-tooltip,.workspace-layout .employee-chat { border-radius:2px; }
.workspace-layout .content .card,.workspace-layout .content .panel { border-radius:2px; }

@media(max-width:950px) {
    .workspace-layout .v2-hero-visual { display:none; }
    .workspace-layout .v2-shortcuts { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .workspace-layout .v2-hero-copy { padding:28px; }
}

/* V3 — kinetic architectural atmosphere */
.workspace-layout .v2-home {
    background:
        radial-gradient(ellipse at 88% 0%, rgba(33, 111, 153, .16), transparent 42%),
        linear-gradient(180deg, #0b1523, #0a121e);
}
.workspace-layout .v2-hero {
    min-height:340px;
    background:
        radial-gradient(ellipse at 74% 60%, rgba(31, 145, 193, .24), transparent 39%),
        linear-gradient(110deg, #112439 0%, #0b192b 50%, #0a2438 100%);
    border-color:#375a70;
    box-shadow:0 20px 45px #00000030, inset 0 1px #86d7ff15;
}
.workspace-layout .v2-hero::before {
    opacity:.36;
    background:
        linear-gradient(180deg, transparent 60%, #4bbfff16),
        repeating-linear-gradient(90deg, transparent 0, transparent 79px, #83d8ff14 80px);
}
.workspace-layout .v2-hero::after {
    content:"";
    position:absolute;
    width:400px;
    height:400px;
    right:5%;
    top:-190px;
    border-radius:50%;
    background:#4abfff14;
    filter:blur(65px);
    pointer-events:none;
}
.workspace-layout .v2-hero-copy {
    padding:43px 48px;
    max-width:630px;
}
.workspace-layout .v2-hero h1 {
    font-size:clamp(33px,3.9vw,61px);
    color:#f4f9ff;
}
.workspace-layout .v2-hero h1 em {
    color:#7dd9ff;
    text-shadow:0 0 32px #3baaff40;
}
.workspace-layout .v2-hero-visual {
    display:block;
    width:43%;
    min-width:330px;
    overflow:hidden;
    isolation:isolate;
    background:
        radial-gradient(circle at 52% 52%, #269ac82c, transparent 45%),
        repeating-linear-gradient(0deg, transparent 0, transparent 28px, #75d8ff0a 29px);
}
.workspace-layout .v3-horizon {
    position:absolute;
    left:0;
    right:0;
    bottom:-80px;
    height:220px;
    transform:perspective(260px) rotateX(60deg);
    transform-origin:bottom;
    background:
        repeating-linear-gradient(90deg,transparent 0,transparent 37px,#66cfff32 38px),
        repeating-linear-gradient(0deg,transparent 0,transparent 31px,#66cfff2b 32px);
    mask-image:linear-gradient(transparent,#000 75%);
}
.workspace-layout .v3-halo {
    position:absolute;
    left:50%;
    top:49%;
    border:1px solid #64cfff65;
    border-radius:50%;
    transform:translate(-50%,-50%);
    box-shadow:0 0 28px #28a9ff19,inset 0 0 30px #28a9ff0d;
}
.workspace-layout .v3-halo-one {
    width:265px;
    height:265px;
    animation:v3-breathe 7s ease-in-out infinite;
}
.workspace-layout .v3-halo-two {
    width:340px;
    height:340px;
    border-style:dashed;
    border-color:#5ac6ff3d;
    animation:v3-spin 70s linear infinite;
}
.workspace-layout .v3-core {
    position:absolute;
    left:50%;
    top:49%;
    width:190px;
    height:190px;
    transform:translate(-50%,-50%);
    display:flex;
    align-items:center;
    justify-content:center;
    flex-direction:column;
    border:1px solid #8bdfff80;
    border-radius:50%;
    background:radial-gradient(circle at 40% 30%,#26678b,#0c253c 68%);
    box-shadow:0 0 0 9px #3baddc10,0 0 70px #2eafff3b,inset 0 0 35px #4ac6ff1f;
}
.workspace-layout .v3-core-mark {
    font-size:96px;
    font-weight:200;
    line-height:1;
    color:#c3f1ff;
    text-shadow:0 0 25px #4ccaff;
}
.workspace-layout .v3-core-caption {
    color:#8dd9f9;
    font-size:9px;
    letter-spacing:.22em;
}
.workspace-layout .v3-node {
    position:absolute;
    z-index:2;
    padding:9px 11px;
    background:#10273bcf;
    border:1px solid #4384a4a6;
    color:#b9e5f8;
    font-size:9px;
    letter-spacing:.12em;
    box-shadow:0 8px 20px #0004;
    animation:v3-float 6s ease-in-out infinite;
}
.workspace-layout .v3-node span {
    color:#75dfff;
    font-size:15px;
    vertical-align:middle;
    margin-right:5px;
}
.workspace-layout .v3-node-one { top:14%; left:2%; }
.workspace-layout .v3-node-two { right:3%; top:26%; animation-delay:-2s; }
.workspace-layout .v3-node-three { bottom:12%; left:7%; animation-delay:-4s; }
.workspace-layout .v3-particle {
    position:absolute;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#9ceaff;
    box-shadow:0 0 14px 4px #4acbff80;
    animation:v3-float 4s ease-in-out infinite alternate;
}
.workspace-layout .v3-particle-one { top:20%; left:37%; }
.workspace-layout .v3-particle-two { bottom:20%; right:18%; animation-delay:-2s; }
.workspace-layout .v2-shortcuts button {
    position:relative;
    min-height:145px;
    background:linear-gradient(145deg,#17283a,#101b2a);
    border-color:#2d465b;
    transition:transform .22s,border-color .22s,background .22s;
}
.workspace-layout .v2-shortcuts button::after {
    content:"↗";
    position:absolute;
    right:17px;
    top:17px;
    color:#6ca4c3;
    font-size:15px;
}
.workspace-layout .v2-shortcuts button:hover {
    transform:translateY(-4px);
    border-color:#6bd2ff;
    background:linear-gradient(145deg,#1c3b52,#142638);
}
.workspace-layout .v2-shortcuts button:nth-child(2) { border-top:2px solid #4bbad7; }
.workspace-layout .v2-shortcuts button:nth-child(3) { border-top:2px solid #d5a86d; }
.workspace-layout .v2-shortcuts button:nth-child(4) { border-top:2px solid #8ca6df; }
.workspace-layout .v2-bottom {
    background:linear-gradient(100deg,#14273b,#0b1928);
    border-color:#2e4b63;
}
.workspace-layout .v3-status-art {
    display:flex;
    align-items:center;
    gap:5px;
    height:54px;
}
.workspace-layout .v3-status-art span {
    width:4px;
    height:15px;
    background:linear-gradient(#85e1ff,#2378a6);
    animation:v3-wave 1.8s ease-in-out infinite;
}
.workspace-layout .v3-status-art span:nth-child(3n) { animation-delay:-.4s; }
.workspace-layout .v3-status-art span:nth-child(3n + 1) { animation-delay:-.9s; }
.workspace-layout .v3-status-art span:nth-child(4n) { animation-delay:-1.3s; }
@keyframes v3-breathe {
    0%,100% { opacity:.5; transform:translate(-50%,-50%) scale(.97); }
    50% { opacity:1; transform:translate(-50%,-50%) scale(1.04); }
}
@keyframes v3-spin {
    from { transform:translate(-50%,-50%) rotate(0deg); }
    to { transform:translate(-50%,-50%) rotate(360deg); }
}
@keyframes v3-float {
    0%,100% { transform:translateY(0); }
    50% { transform:translateY(-9px); }
}
@keyframes v3-wave {
    0%,100% { height:9px; opacity:.45; }
    50% { height:42px; opacity:1; }
}
@media(max-width:950px) {
    .workspace-layout .v2-hero-visual { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    .workspace-layout .v3-halo,.workspace-layout .v3-node,.workspace-layout .v3-particle,.workspace-layout .v3-status-art span { animation:none; }
    .workspace-layout .v2-shortcuts button { transition:none; }
}

/* V4: edge-to-edge identity header and a restrained, precise workspace */
.workspace-layout .identity-strip {
    margin-right:-58px;
    padding-right:0;
    gap:12px;
    position:relative;
    z-index:5;
}
.workspace-layout .identity-right {
    margin-left:auto;
    min-width:0;
}
.workspace-layout .header-brand {
    margin-left:12px;
    flex:0 0 auto;
}
.workspace-layout .organization-toggle {
    margin:0;
    width:58px;
    height:68px;
    flex:0 0 58px;
    border-left:1px solid #2b4055;
    background:#102136;
}
.workspace-layout .organization-toggle:hover {
    background:#1b3b54;
}
.workspace-layout .identity-brand {
    flex:0 0 auto;
}
.workspace-layout .content {
    min-height:0;
    overflow:auto;
    scrollbar-color:#42617a #101a29;
}
.workspace-layout .v2-home {
    padding-bottom:64px;
}
.workspace-layout .v2-hero h1 {
    color:#f4f9ff;
}
.workspace-layout .v2-hero h1 em {
    color:#7dd9ff;
}
@media(max-width:1050px) {
    .workspace-layout .identity-strip {
        gap:7px;
    }
    .workspace-layout .identity-brand small,
    .workspace-layout .header-brand small {
        display:none;
    }
}

/* V5: fit the complete home dashboard inside the 16:9 monitor */
.workspace-layout .v2-home {
    padding:18px 28px 20px;
}
.workspace-layout .v2-hero {
    min-height:0;
    height:clamp(220px, 37vh, 310px);
}
.workspace-layout .v2-hero-copy {
    padding:25px 34px;
}
.workspace-layout .v2-hero h1 {
    font-size:clamp(30px, 3.2vw, 47px);
    margin:12px 0 8px;
}
.workspace-layout .v2-hero p {
    line-height:1.45;
    margin:0;
}
.workspace-layout .v2-hero-actions {
    margin-top:14px;
}
.workspace-layout .v2-label {
    margin:15px 0 9px;
}
.workspace-layout .v2-shortcuts button {
    min-height:105px;
    padding:13px 16px;
}
.workspace-layout .v2-shortcuts button strong {
    margin-top:7px;
}
.workspace-layout .v2-shortcuts button small {
    margin-top:3px;
}
.workspace-layout .v2-shortcuts button span {
    font-size:22px;
}
.workspace-layout .v2-bottom {
    margin-top:11px;
    padding:13px 20px;
    min-height:72px;
}
.workspace-layout .v2-bottom h2 {
    font-size:18px;
    margin:4px 0;
}
.workspace-layout .v2-bottom p {
    line-height:1.3;
}
.workspace-layout .v3-core {
    width:155px;
    height:155px;
}
.workspace-layout .v3-core-mark {
    font-size:75px;
}
.workspace-layout .v3-halo-one {
    width:215px;
    height:215px;
}
.workspace-layout .v3-halo-two {
    width:270px;
    height:270px;
}
@media(max-height:820px) {
    .workspace-layout .v2-home {
        padding:12px 22px 15px;
    }
    .workspace-layout .v2-hero {
        height:clamp(195px, 34vh, 270px);
    }
    .workspace-layout .v2-hero-copy {
        padding:18px 28px;
    }
    .workspace-layout .v2-shortcuts button {
        min-height:91px;
        padding:10px 13px;
    }
    .workspace-layout .v2-bottom {
        padding:9px 17px;
        min-height:59px;
    }
}

.workspace-layout .home{padding:clamp(20px,3vw,48px);min-height:100%;background:#e9eef2;color:#203449}
.workspace-layout .home .gh-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:25px;border-bottom:1px solid #c6d2dc;margin-bottom:24px}
.gh-heading small{font-size:10px;letter-spacing:.19em;color:#526e84}.gh-heading h1{font-size:clamp(25px,3vw,43px);font-weight:400;letter-spacing:-.04em;margin:10px 0;color:#203449}.gh-heading p{font-size:13px;color:#526e84;margin:0}.gh-counts{display:flex;gap:24px}.gh-counts div{border-left:1px solid #b8c9d6;padding-left:20px;min-width:100px}.gh-counts strong{display:block;font-size:32px;font-weight:400;color:#17688c}.gh-counts span{font-size:11px;color:#526e84;white-space:nowrap}
.gh-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:24px;align-items:start}.gh-grid section{background:#fff;border:1px solid #d1dce4;padding:18px 22px}.gh-grid h2{font-size:17px;font-weight:600;color:#203449;margin:0 0 12px;display:flex;justify-content:space-between}.gh-grid h2 span{font-size:12px;color:#607c91}.gh-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:0 15px}.gh-list button{display:flex;align-items:center;gap:12px;min-height:52px;border:0;border-top:1px solid #e1e8ed;background:transparent;color:#203449;text-align:left;padding:8px 4px;font:inherit;cursor:pointer}.gh-list button:hover{background:#eaf4f9;color:#17688c}.gh-icon{display:grid;place-items:center;width:30px;height:30px;flex:none;color:#23779a;font-size:20px}.gh-icon svg{width:25px;height:25px}.gh-arrow{margin-left:auto;color:#638398}.gh-list button:focus-visible{outline:2px solid #23779a;outline-offset:-2px}@media(max-width:1000px){.gh-grid{grid-template-columns:1fr}.workspace-layout .home .gh-heading{align-items:flex-start;flex-direction:column}}

html:has(body.workspace-layout){background:#080e18}/* Temporary 16:9 development viewport; remove for production. */
body.workspace-layout{width:min(100vw,177.777778vh);max-width:100%;margin-inline:auto;position:relative;height:100vh;overflow:hidden;transform:translateZ(0)}.workspace-layout .home{background:#0a1421;min-height:100%;padding:0}



/* Runtime geometry: values updated in this stylesheet, never on HTML elements. */
#rich-tooltip { --runtime-geometry: 1; }
#office-workspace { --runtime-geometry: 1; }
#office-scene { --runtime-geometry: 1; }

.ui-module .ui-form > details + details { margin-top: 12px; }

.ui-module .ui-form > details.ui-fields-main {
    background:var(--work-paper);
    border:1px solid var(--work-line);
    border-radius:4px;
    padding:0;
}
.ui-module .ui-form > details.ui-fields-main > summary {
    cursor:pointer;
    padding:14px 18px;
    color:var(--work-text);
    background:var(--work-paper);
}
.ui-module .ui-form > details.ui-fields-main > summary > span {
    font-weight:600;
}
.ui-module .ui-form > details.ui-fields-main > summary > small {
    display:block;
    margin:5px 0 0 17px;
    color:var(--work-muted);
    font-size:11px;
}
.ui-module .ui-form > details.ui-fields-main[open] > summary {
    border-bottom:1px solid var(--work-line);
    margin-bottom:14px;
}
.ui-module .ui-form > details.ui-fields-main > .ui-field {
    margin-left:18px;
    margin-right:18px;
}

.ui-module .ui-document-configuration > details.ui-fields-main {
    background:var(--work-paper);
    border:1px solid var(--work-line);
    border-radius:4px;
    padding:0;
}
.ui-module .ui-document-configuration > details.ui-fields-main > summary {
    cursor:pointer;
    padding:14px 18px;
    color:var(--work-text);
    background:var(--work-paper);
}
.ui-module .ui-document-configuration > details.ui-fields-main > summary > span {
    font-weight:600;
}
.ui-module .ui-document-configuration > details.ui-fields-main > summary > small {
    display:block;
    margin:5px 0 0 17px;
    color:var(--work-muted);
    font-size:11px;
}
.ui-module .ui-document-configuration > details.ui-fields-main[open] > summary {
    border-bottom:1px solid var(--work-line);
    margin-bottom:14px;
}
.ui-module .ui-document-configuration > details.ui-fields-main > .ui-field {
    margin-left:18px;
    margin-right:18px;
}

/* Reusable document form */
.ui-module .ui-document-layout {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:start;
    gap:20px;
}
.ui-module .ui-document-page {
    box-sizing:border-box;
    width:100%;
    aspect-ratio:210 / 297;
    /* A4 margins: 20 mm vertical, 25 mm horizontal */
    padding:9.5238095% 11.9047619%;
    display:flex;
    flex-direction:column;
    background:#fff;
    color:#263544;
    box-shadow:0 3px 14px #0005;
}
.ui-module .ui-document-header {
    border-bottom:1px solid #d7e0e7;
    padding-bottom:14px;
    margin-bottom:24px;
}
.ui-module .ui-document-header h1 { color:#263544; font-size:16px; margin:0 0 6px; }
.ui-module .ui-document-header p { color:#657584; font-size:12px; margin:0; }

.ui-module .ui-document-page .ui-field input:not([type=radio]):not([type=hidden]),
.ui-module .ui-document-page .ui-field textarea {
    box-sizing:border-box;
    background:transparent;
    color:#263544;
    border:1px solid transparent;
    padding:4px 0;
    border-radius:0;
    font:inherit;
}
.ui-module .ui-document-page .ui-field input:focus,
.ui-module .ui-document-page .ui-field textarea:focus { outline:1px solid #8aa9bf; }
.ui-module .ui-document-page .ui-document-title input:not([type=radio]):not([type=hidden]) { font-size:inherit; font-weight:400; }
.ui-module .ui-document-page .ui-document-lead input:not([type=radio]):not([type=hidden]) { font-size:inherit; }
.ui-module .ui-document-page .ui-document-body textarea { min-height:180px; line-height:1.5; }
.ui-module .ui-document-configuration > details + details { margin-top:12px; }
@media (max-width:700px) {
    .ui-module .ui-document-layout { grid-template-columns:minmax(0,1fr); }
}

/* Document identity and page furniture */
.ui-module .ui-document-header { display:flex; align-items:center; justify-content:space-between; gap:12px; border-bottom:1px solid #9aa9b5; padding-bottom:16px; margin-bottom:18px; }
.ui-module .ui-document-brand { display:flex; align-items:center; gap:10px; min-width:0; }
.ui-module .ui-document-brand img { width:38px; height:38px; object-fit:contain; }
.ui-module .ui-document-brand strong { display:block; font-size:19px; letter-spacing:.12em; font-weight:600; }
.ui-module .ui-document-brand small { display:block; font-size:8px; letter-spacing:.08em; color:#657584; }
.ui-module .ui-document-meta { display:flex; flex-direction:column; text-align:right; gap:5px; font-size:10px; color:#657584; }
.ui-module .ui-document-context { display:flex; justify-content:space-between; gap:10px; font-size:10px; letter-spacing:.08em; text-transform:uppercase; color:#657584; margin-bottom:26px; }
.ui-module .ui-document-content { flex:1; min-width:0; }
.ui-module .ui-document-content .ui-field { margin-bottom:20px; }
.ui-module .ui-document-content .ui-field input,.ui-module .ui-document-content .ui-field textarea { width:100%; }
.ui-module .ui-document-content .ui-document-body textarea { min-height:220px; field-sizing:content; }
.ui-module .ui-document-footer { display:flex; justify-content:space-between; gap:12px; border-top:1px solid #9aa9b5; padding-top:12px; margin-top:24px; font-size:10px; color:#657584; }

.ui-module .ui-document-content { font-size:14px; line-height:1.5; }
.ui-module .ui-document-content h1 { font-size:20px; font-weight:600; color:#263544; margin:0 0 20px; }
.ui-module .ui-document-content h2 { font-size:16px; font-weight:600; color:#263544; margin:0; }
.ui-module .ui-document-content h2 label { font:inherit; color:inherit; }
.ui-module .ui-document-content h3 { font-size:14px; font-weight:600; }
.ui-module .ui-document-content h4 { font-size:14px; font-weight:500; }
.ui-module .ui-document-content p { font:inherit; }

/* Document typography: consistent heading hierarchy */
.ui-module .ui-document-content { font-family:"Segoe UI",Arial,sans-serif; font-size:14px; line-height:1.5; color:#333; }
.ui-module .ui-document-content h1 { font-size:22px; line-height:1.3; font-weight:600; margin:0 0 16px; }
.ui-module .ui-document-content h2 { font-size:18px; line-height:1.35; font-weight:600; margin:0 0 6px; }
.ui-module .ui-document-page .ui-document-content .ui-field h2 > label { display:block; font:inherit; color:inherit; margin:0; padding:0; }
.ui-module .ui-document-content h3 { font-size:16px; font-weight:600; }
.ui-module .ui-document-content h4 { font-size:15px; font-weight:600; }
.ui-module .ui-document-page .ui-document-content .ui-field input:not([type=radio]):not([type=hidden]),
.ui-module .ui-document-page .ui-document-content .ui-field textarea { font-family:inherit; font-size:14px; font-weight:400; line-height:1.5; padding:2px 0; }
.ui-module .ui-document-content .ui-field { display:block; margin:0 0 14px; }

/* Creator view switch */
.ui-module .ui-creator-views { position:relative; }
.ui-module .ui-creator-view-choice { position:absolute; width:1px; height:1px; opacity:0; }
.ui-module .ui-creator-switch { display:flex; gap:4px; margin-bottom:16px; }
.ui-module .ui-creator-switch label { cursor:pointer; padding:8px 18px; color:var(--work-muted); background:var(--work-paper); border:1px solid var(--work-line); border-radius:4px; }
.ui-module .ui-creator-view-choice:first-child:checked ~ .ui-creator-switch label:first-child,
.ui-module .ui-creator-view-choice:nth-child(2):checked ~ .ui-creator-switch label:nth-child(2) { color:var(--work-text); background:var(--work-selected); }
.ui-module .ui-creator-view-choice:first-child:focus-visible ~ .ui-creator-switch label:first-child,
.ui-module .ui-creator-view-choice:nth-child(2):focus-visible ~ .ui-creator-switch label:nth-child(2) { outline:2px solid var(--work-accent); }
.ui-module .ui-creator-structure,.ui-module .ui-creator-document { display:none; }
.ui-module .ui-creator-view-choice:first-child:checked ~ .ui-creator-structure,
.ui-module .ui-creator-view-choice:nth-child(2):checked ~ .ui-creator-document { display:block; }
.ui-module .ui-creator-document { width:100%; max-width:794px; margin:0 auto; }
.ui-module .ui-creator-document [id$="-info"] { white-space:pre-wrap; overflow-wrap:anywhere; }

/* Workspace layout: header above the working area. */
.workspace-layout .shell { display:grid; grid-template-columns:max-content minmax(0,1fr) 200px auto; grid-template-rows:28px auto auto minmax(0,1fr) 28px; height:100%; min-height:0; overflow:hidden; }
.workspace-layout .workspace-main-navigation { grid-column:1 / 3; grid-row:2; display:flex; align-items:stretch; min-width:0; background:#0b1523; }
.workspace-layout .workspace-main-navigation .identity-strip { flex:0 0 auto; height:auto; min-height:0; margin:0; padding:0 12px 0 15px; border-right:1px solid #293e54; }
.workspace-layout .workspace-main-navigation .workspace-navigation { flex:1; min-width:0; }
.workspace-layout .workspace-main-navigation > .identity-right { margin:0; padding:0 8px; align-self:center; }
.workspace-layout #organization-toggle { background:transparent; color:inherit; border:none; border-radius:0; cursor:pointer; }
.workspace-layout .shell > .workspace-status { display:flex; min-height:0; box-sizing:border-box; grid-column:1 / -1; grid-row:5; margin-right:0; align-items:center; background:#0b1523; border-top:1px solid #2b4055; padding:0 12px; }
.workspace-status .identity-right { margin:0; width:100%; justify-content:flex-start; }
.workspace-status #clock { margin-left:auto; }
.workspace-layout .lab-left,.workspace-layout .lab-organization { bottom:28px; }
.workspace-layout .shell > .top { grid-column:2; grid-row:3; margin:0; }
.workspace-layout .shell > .content { grid-column:2; grid-row:4; margin:0; min-height:0; }
.workspace-layout .lab-actions { grid-column:1; grid-row:3 / 5; width:max-content; box-sizing:border-box; border-left:0; border-right:1px solid #293e54; }

.workspace-layout .lab-organization { position:static; grid-column:4; grid-row:2 / 5; }
.workspace-layout #workspace-panel-right { grid-column:3; grid-row:2 / 5; background:#101d2d; border-left:1px solid #293e54; box-sizing:border-box; display:grid; grid-template-rows:subgrid; min-height:0; }
.workspace-layout .workspace-panel-heading { grid-row:1; min-height:0; box-sizing:border-box; border-bottom:1px solid #293e54; display:flex; align-items:flex-start; padding:9px 12px; gap:4px; }
.workspace-layout .workspace-panel-heading .workspace-philosophy { position:relative; inset:auto; width:24px; height:24px; flex:0 0 24px; }
.workspace-layout .workspace-panel-heading .workspace-philosophy-trigger { width:24px; height:24px; color:inherit; }
.workspace-layout .workspace-panel-heading .workspace-philosophy-panel { left:auto; right:0; top:100%; }
.workspace-layout .workspace-panel-content { grid-row:2 / 4; display:grid; grid-template-rows:subgrid; min-height:0; }
.workspace-layout .workspace-panel-content::before { content:""; grid-row:1; box-sizing:border-box; align-self:stretch; border-bottom:1px solid #293e54; }
.workspace-layout .workspace-panel-content > * { grid-row:2; min-height:0; overflow:auto; }
.workspace-layout .lab-left { z-index:9; }
.panel-group-heading { flex-shrink:0; padding:8px 10px 2px; color:#819bb4; font-size:11px; font-weight:500; white-space:nowrap; }

/* Reusable register sheets. */
.ui-module .ui-content:has(.ui-view:not([hidden]) .ui-register:not([data-ui-repeat-register])) { display:flex; flex-direction:column; padding:0; }
.ui-module .ui-view:not([hidden]):has(.ui-register:not([data-ui-repeat-register])) { display:flex; flex-direction:column; flex:1; min-height:0; }
.ui-module .ui-form:has(.ui-register:not([data-ui-repeat-register])) { display:flex; flex-direction:column; flex:1; max-width:none; min-height:0; width:100%; }
.ui-register { display:flex; flex-wrap:nowrap; align-items:flex-start; flex:1; min-height:0; position:relative; overflow-x:auto; }

.ui-register-choice { position:absolute; width:1px; height:1px; opacity:0; }
.ui-register-label { order:0; position:relative; z-index:1; cursor:pointer; box-sizing:border-box; height:34px; padding:6px 12px; margin:0 0 0 -1px; border:1px solid var(--work-line); border-radius:0; background:var(--work-bg); color:var(--work-muted); white-space:nowrap; }
.ui-register-label:nth-child(2) { margin-left:0; }
.ui-register-choice:checked + .ui-register-label { background:var(--work-paper); color:var(--work-text); border-bottom-color:var(--work-paper); }
.ui-register-choice:focus-visible + .ui-register-label { outline:2px solid var(--work-accent); outline-offset:-3px; }
.ui-register-sheet { display:none; position:absolute; inset:33px 0 0; overflow:auto; min-width:0; min-height:0; box-sizing:border-box; padding:12px; border:1px solid var(--work-line); background:var(--work-paper); }
.ui-register-choice:checked + .ui-register-label + .ui-register-sheet { display:block; }
.ui-register-description { margin:16px 0; }

/* Shared workspace controls: flat, unframed icons. */
.workspace-layout :is(.lab-left button,.vertical-panel button,.navigation-module,.tab-icon,.workspace-logo) { border:none; border-radius:0; }

/* Continuous workspace navigation surface. */
.workspace-layout .workspace-main-navigation { background:#101d2d; border-bottom:1px solid #293e54; }
.workspace-layout .workspace-main-navigation :is(.identity-strip,.workspace-navigation,.identity-right), .workspace-layout .lab-actions, .workspace-layout .top { background:#101d2d; }
.workspace-layout .workspace-main-navigation :is(.identity-strip,.workspace-navigation) { border-bottom:0; }
.workspace-layout .workspace-main-navigation > .identity-right { align-self:stretch; align-items:center; }

.ui-register[data-ui-repeat-register] { min-height:220px; }
.ui-register[data-ui-repeat-register] > [data-ui-add-sheet] { font:inherit; flex-shrink:0; }
.ui-register[data-ui-repeat-register] > .ui-register-label { flex-shrink:0; }

/* The first model starts directly as a form; tabs appear when it is complete. */
.ui-register[data-ui-repeat-register]:has(> .ui-register-choice:only-of-type[data-complete="0"]) > .ui-register-label { display:none; }
.ui-register[data-ui-repeat-register]:has(> .ui-register-choice:only-of-type[data-complete="0"]) > .ui-register-sheet { inset:0; border:0; padding:0; background:transparent; }
.ui-register[data-ui-repeat-register] > [hidden] { display:none !important; }

/* Flat application frame */
.workspace-layout .shell > .workspace-topbar { grid-column:1 / -1; grid-row:1; display:flex; align-items:center; box-sizing:border-box; padding:0 12px; background:#0b1523; color:#dbe5ef; font-size:11px; letter-spacing:.08em; border-bottom:1px solid #2b4055; box-shadow:none; }
.workspace-layout .shell > .workspace-status { box-shadow:none; }
.workspace-layout .lab-left { top:96px; }

.ui-module .ui-field textarea[name="multi_labels"] { height:260px; min-height:260px; }

.ui-module [data-ui-save-status]:not(:empty) { display:block; margin-top:12px; padding:10px 12px; border:1px solid currentColor; border-radius:2px; font-weight:600; }
.ui-module [data-ui-save-status][data-state="success"] { color:#218739; }
.ui-module [data-ui-save-status][data-state="error"] { color:#c43d3d; }

/* Customer workspace: application shortcuts beside Actions */



.workspace-layout.customer-workspace .lab-actions { grid-column:2; }
.workspace-layout.customer-workspace .shell > .top, .workspace-layout.customer-workspace .shell > .content { grid-column:3; }
.workspace-layout.customer-workspace #workspace-panel-right { grid-column:4; }
.workspace-layout.customer-workspace .lab-organization { grid-column:5; }

/* ontology navigation */


.workspace-layout .ontology-navigation { display:block; overflow:visible; align-self:stretch; }
.ontology-navigation [hidden] { display:none !important; }
.ontology-navigation [data-navigation-panel] > ul { display:flex; align-items:center; gap:16px; height:100%; margin:0; padding:8px 12px; list-style:none; }
.ontology-navigation li { list-style:none; position:relative; }



.ontology-navigation li span,.ontology-navigation li summary { display:block; padding:5px 8px; color:#dbe5ef; font-size:12px; }

/* Ontology ribbon: architecture above, modules in the middle, group captions below. */
.workspace-layout .ontology-navigation { overflow-x:auto; }
.ontology-navigation [data-navigation-panel] > ul { align-items:stretch; height:auto; gap:12px; }
.ontology-navigation [data-navigation-panel] > ul > li { border-right:1px solid #293e54; padding-right:12px; }
.ontology-navigation .navigation-group { display:flex; flex-direction:column; height:100%; }
.ontology-navigation .navigation-group > ul { display:flex; align-items:stretch; gap:12px; padding:0; margin:0; flex:1; }
.ontology-navigation [data-navigation-panel] > ul > li > .navigation-group > .navigation-heading { text-align:center; font-weight:600; }
.ontology-navigation [data-navigation-panel] > ul > li > .navigation-group > ul > li > .navigation-group > .navigation-heading { order:2; border-top:1px solid #405a70; text-align:center; font-weight:400; margin-top:4px; }
.ontology-navigation [data-navigation-panel] > ul > li > .navigation-group > ul > li > .navigation-group > ul { align-items:center; justify-content:center; }
.ontology-navigation li span { white-space:nowrap; padding:4px 6px; }


.workspace-layout .workspace-main-navigation > .identity-strip { display:none; }
/* Workspace layout */


.workspace-layout.customer-workspace .workspace-main-navigation { grid-column:3 / 4; }
.workspace-layout.customer-workspace .shell > .top { height:var(--workspace-tab-height); max-height:var(--workspace-tab-height); min-height:0; align-self:stretch; align-items:stretch; position:static; z-index:5; gap:0; overflow:hidden; border-bottom:0; }
.workspace-actions-menu { position:static; flex:0 0 44px; box-sizing:border-box; border-right:1px solid #293e54; }
.workspace-actions-menu > summary { height:100%; display:flex; align-items:center; justify-content:center; cursor:pointer; color:#c4d6e8; list-style:none; }
.workspace-actions-menu > summary::-webkit-details-marker { display:none; }
.workspace-actions-menu[open] > summary { background:#29465f; }
.workspace-layout.customer-workspace .shell { grid-template-rows:28px auto var(--workspace-tab-height) minmax(0,1fr) 28px; }
.workspace-layout.customer-workspace .shell { position:relative; }
.workspace-layout.customer-workspace .shell > .lab-actions { display:none; grid-column:3; grid-row:4; position:relative; inset:auto; align-self:stretch; justify-self:start; width:var(--actions-panel-width); height:auto; max-height:100%; min-height:0; overflow-y:auto; overflow-x:hidden; border:0; box-shadow:none; z-index:20; box-sizing:border-box; }
.workspace-layout.customer-workspace .shell:has(.workspace-actions-menu[open]) > .lab-actions { display:flex; }
.workspace-layout.customer-workspace .shell > .lab-actions > * { flex-shrink:0; }
.workspace-layout.customer-workspace .shell > .lab-actions button { height:var(--navigation-row-height); min-height:var(--navigation-row-height); flex:0 0 var(--navigation-row-height); padding:0 8px; gap:var(--navigation-icon-gap); }
.workspace-layout.customer-workspace .shell > .lab-actions .panel-group-heading { padding:5px 8px 0; }





/* Shared navigation typography and local anthracite/gold palette. */
.workspace-layout.customer-workspace { --navigation-icon-size:16px; --navigation-large-icon-size:32px; --navigation-row-height:20px; --navigation-label-size:11px; --navigation-heading-size:10px; --navigation-icon-gap:8px; --navigation-rule-color:color-mix(in srgb,var(--workspace-gold) 65%,transparent); --navigation-rule-size:1px; --navigation-group-gap:15px; --navigation-top-padding:15px; --workspace-frame:#101113; --workspace-canvas:#202124; --workspace-ink:#dbe5ef; --workspace-hover:#292a2c; --workspace-line:#343537; --workspace-gold:#c9ae78; --workspace-text:#dbe5ef; background:var(--workspace-canvas); }
html:has(body.workspace-layout.customer-workspace) { background:#111214; }
.workspace-layout.customer-workspace .scene { background:var(--workspace-canvas); }
.workspace-layout.customer-workspace :is(.panel-group-heading,.lab-actions button,.lab-actions button span,.tabs .tab) { font-size:var(--navigation-label-size); font-weight:400; color:var(--workspace-text); }
.workspace-layout.customer-workspace :is(.panel-group-heading,.navigation-heading) { color:var(--workspace-gold); }
.workspace-layout.customer-workspace :is(.workspace-main-navigation,.shell > .workspace-topbar,.shell > .workspace-status,.lab-applications,.lab-actions,.top,#workspace-panel-right,.lab-organization,.lab-left) { background:var(--workspace-frame); border-color:var(--workspace-line); }
.workspace-layout.customer-workspace :is(.content,.home) { background:var(--workspace-canvas); }
.workspace-layout.customer-workspace :is(.workspace-actions-menu,.workspace-panel-heading,.tabs .tab) { border-color:var(--workspace-line); }
.workspace-layout.customer-workspace .workspace-panel-content::before { background:var(--workspace-gold); border:0; }
.workspace-layout.customer-workspace .tabs .tab { background:var(--workspace-frame); box-shadow:none; }
.workspace-layout.customer-workspace .tabs .tab.active { background:var(--workspace-canvas); color:var(--workspace-ink); box-shadow:inset 0 -2px var(--workspace-gold); }
.workspace-layout.customer-workspace :is(.tabs .tab:hover,.workspace-actions-menu[open] > summary,.vertical-panel:not(.lab-applications) button:hover) { background:var(--workspace-hover); }
.workspace-layout.customer-workspace :is(.workspace-actions-menu > summary,.tab-icon) { color:var(--workspace-text); }


.workspace-layout.customer-workspace .tabs .tab.active .tab-icon { color:var(--workspace-gold); }
.workspace-layout.customer-workspace .workspace-main-navigation { grid-row:2; }
.workspace-layout.customer-workspace .workspace-main-navigation > .identity-right { margin-top:0; }
.workspace-layout.customer-workspace :is(.content,.home) { color:var(--workspace-ink); }
.workspace-layout.customer-workspace .tabs .tab.active:hover { background:var(--workspace-canvas); color:var(--workspace-ink); }
.workspace-layout.customer-workspace .scene { background:var(--workspace-frame); }
.workspace-layout.customer-workspace .shell > .workspace-topbar { grid-column:1 / -1; grid-row:1; background:var(--workspace-frame); border-bottom:1px solid var(--workspace-line); }
/* Responsive workspace: use the complete viewport, independent of aspect ratio. */
body.workspace-layout.customer-workspace { width:100%; max-width:none; margin:0; height:100dvh; }
.workspace-layout.customer-workspace .shell { width:100%; max-width:none; margin:0; }
.workspace-layout.customer-workspace .workspace-main-navigation > .identity-right { background:var(--workspace-frame); border-color:var(--workspace-line); }
.workspace-layout.customer-workspace #organization-toggle { background:transparent; color:var(--workspace-text); }
.workspace-layout.customer-workspace #organization-toggle:hover { background:var(--workspace-hover); }
.workspace-layout.customer-workspace .workspace-panel-heading { grid-row:1; padding:9px 12px; align-items:flex-start; font-size:11px; font-weight:400; color:var(--workspace-gold); }
/* Real ontology navigation: same ribbon geometry and palette. */
.workspace-layout.customer-workspace .ontology-navigation { flex:1; overflow-x:auto; }
.workspace-layout.customer-workspace .ontology-navigation [data-navigation-panel] > ul { gap:12px; padding:var(--navigation-top-padding) 8px 12px; }
.workspace-layout.customer-workspace .ontology-navigation [data-navigation-panel] > ul > li { border:0; padding:0; }
.workspace-layout.customer-workspace .ontology-navigation [data-navigation-panel] > ul > li > .navigation-group > .navigation-heading { display:none; }
.workspace-layout.customer-workspace .ontology-navigation .navigation-group > ul { gap:8px; }
.workspace-layout.customer-workspace .ontology-navigation [data-navigation-panel] > ul > li > .navigation-group > ul > li > .navigation-group > .navigation-heading { font-size:var(--navigation-heading-size); font-weight:400; color:var(--workspace-gold); border-top:var(--navigation-rule-size) solid var(--navigation-rule-color); padding:5px 0 0; margin-top:3px; }
.workspace-layout.customer-workspace .ontology-navigation li:not(:has(ul)) > span { width:max-content; min-width:var(--navigation-icon-size); box-sizing:border-box; text-align:center; font-size:11px; font-weight:400; white-space:normal; color:var(--workspace-text); min-height:var(--navigation-icon-size); display:flex; align-items:end; justify-content:center; }
.workspace-layout.customer-workspace .workspace-main-navigation,
.workspace-layout.customer-workspace .workspace-navigation,
.workspace-layout.customer-workspace .ontology-navigation [data-navigation-panel] { background:var(--workspace-frame); }

.workspace-layout.customer-workspace .ontology-navigation li:not(:has(ul)) > .navigation-module { display:flex; flex-direction:column; align-items:center; justify-content:flex-start; gap:0; padding:0; }
.workspace-layout.customer-workspace .navigation-module > span { display:block; padding:5px 0 0; font-size:var(--navigation-label-size); color:var(--workspace-text); white-space:nowrap; }

/* Shared navigation icon */

/* Main navigation */




/* Module navigation */



/* Horizontal application navigation */
.workspace-layout.customer-workspace .shell { grid-template-columns:0 0 minmax(0,1fr) 200px auto; }
.workspace-top-navigation { display:flex; align-items:center; gap:4px; height:100%; overflow-x:auto; }
.workspace-top-navigation button { background:transparent; color:inherit; border:0; padding:3px 12px; font:inherit; white-space:nowrap; cursor:pointer; }
.workspace-top-navigation button[aria-pressed="true"] { color:var(--workspace-gold); background:var(--workspace-hover); }

/* Adaptive ribbon geometry */
.workspace-layout.customer-workspace .ontology-navigation .navigation-group > ul.ribbon-modules { display:grid; grid-auto-flow:column; grid-template-rows:repeat(3,var(--navigation-row-height)); height:calc(3 * var(--navigation-row-height)); flex:none; gap:0 8px; align-items:center; justify-content:start; padding:0 6px; }
.workspace-layout.customer-workspace .ontology-navigation .navigation-group > ul.ribbon-count-2 { grid-template-rows:repeat(2,calc(1.5 * var(--navigation-row-height))); }
.workspace-layout.customer-workspace .ontology-navigation .navigation-group > ul.ribbon-count-1 { grid-template-rows:calc(3 * var(--navigation-row-height)); justify-content:center; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-modules li > .navigation-module { flex-direction:row; align-items:center; justify-content:flex-start; gap:var(--navigation-icon-gap); min-height:0; padding:0; white-space:nowrap; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-modules .navigation-module > span { padding:0; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-icon { display:inline-flex; width:var(--navigation-icon-size); height:var(--navigation-icon-size); flex:none; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-icon svg { width:100%; height:100%; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-count-1 li > .navigation-module { flex-direction:column; justify-content:center; gap:5px; }
.workspace-layout.customer-workspace .ontology-navigation .ribbon-count-1 .ribbon-icon { width:var(--navigation-large-icon-size); height:var(--navigation-large-icon-size); }
.workspace-layout.customer-workspace .ontology-navigation .navigation-group:has(> .ribbon-modules) { border-right:1px solid var(--workspace-line); padding-right:8px; }
.workspace-layout.customer-workspace .ontology-navigation .navigation-group:has(> .ribbon-modules) > .navigation-heading { border-top:0; }
.workspace-layout.customer-workspace :is(.content,.home) { background:#f8f9fb; color:#25282e; }

/* Workspace tab strip */
.workspace-layout.customer-workspace .shell > .top,
.workspace-layout.customer-workspace .shell > .top > .tabs { background-color:#D0D3D8 !important; }

.workspace-layout.customer-workspace .workspace-actions-menu { background:var(--workspace-frame); }




.workspace-layout.customer-workspace .workspace-actions-menu > summary { flex:1; height:auto; align-self:stretch; box-sizing:border-box; }


/* Page actions control */
.workspace-layout.customer-workspace .workspace-topbar > .workspace-actions-menu { display:flex; flex:0 0 auto; align-self:stretch; margin:0 4px 0 0; border-right:1px solid var(--workspace-line); }
.workspace-layout.customer-workspace .workspace-topbar > .workspace-actions-menu > summary { padding:3px 12px; font:inherit; white-space:nowrap; border-bottom:0; box-shadow:none; color:inherit; }
.workspace-layout.customer-workspace .workspace-topbar > .workspace-actions-menu[open] > summary { color:var(--workspace-gold); }

.workspace-layout.customer-workspace .shell > .lab-actions .panel-group-heading { color:var(--workspace-gold); font-size:var(--navigation-heading-size); }

.workspace-layout.customer-workspace { --actions-panel-width:136px; --workspace-tab-height:32px; }
.workspace-layout.customer-workspace .workspace-caption { flex:0 0 var(--actions-panel-width); width:var(--actions-panel-width); box-sizing:border-box; display:flex; align-self:stretch; align-items:center; border:0; box-shadow:none; padding:0 10px; }
.workspace-layout.customer-workspace .workspace-caption { background:var(--workspace-gold); color:var(--workspace-frame); font-size:var(--navigation-label-size); font-weight:400; text-transform:uppercase; height:var(--workspace-tab-height); box-sizing:border-box; }
.workspace-layout.customer-workspace .tabs > .tab[data-tab="home"] { display:none !important; }

/* Trial: actions group separators */
.workspace-layout.customer-workspace .lab-actions .panel-group-heading ~ .panel-group-heading::before { content:""; display:block; height:var(--navigation-rule-size); background:var(--navigation-rule-color); margin:3px 0 var(--navigation-group-gap); }

/* Rich tooltips disabled in the workspace. */
.workspace-layout .rich-tooltip { display:none !important; }
