/* The home screen follows the workspace's quiet, neutral surfaces. */
#startseite.zh-home {
    --zh-ease: cubic-bezier(.22,.7,.2,1);
    min-height: 100svh;
    max-width: none;
    padding: 34px 44px 40px;
    background: #090a0c;
    color: #dce0e7;
    animation: zh-arrive 320ms var(--zh-ease);
}
#startseite .zh-header,
#startseite .zh-body,
#startseite .zh-system { max-width: 990px; margin-left: auto; margin-right: auto; }
#startseite .zh-header {
    flex-wrap: nowrap;
    flex-direction: row !important;
    margin-bottom: 44px !important;
    padding-bottom: 0 !important;
    border: 0;
    align-items: flex-start !important;
    gap: 18px;
}
#startseite .zh-header h1 {
    font-size: 24px !important;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -.6px !important;
    text-shadow: none;
    color: #eceef2;
}
#startseite #date-display,
#startseite .zh-user {
    display: inline-block;
    color: #7f858f;
    font-size: 11px !important;
    line-height: 1.7;
    letter-spacing: 0;
}
#startseite .zh-user { margin-left: 12px; }
#startseite .zh-user::before { content: '·'; margin-right: 12px; color: #555c67; }
#startseite [hidden] { display: none !important; }
#startseite .zh-menu { position: relative; z-index: 10; flex: none; }
#startseite .zh-menu-toggle {
    list-style: none;
    display: grid;
    place-items: center;
    width: 38px;
    height: 36px;
    font-size: 12px;
    letter-spacing: 2px;
    color: #a4aab5;
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}
#startseite .zh-menu-toggle::-webkit-details-marker,
#startseite .zh-system > summary::-webkit-details-marker { display: none; }
#startseite .zh-menu-toggle:hover,
#startseite .zh-menu[open] > summary { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.14); }
#startseite .zh-menu-actions {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 156px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 6px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: #14161a;
    box-shadow: 0 12px 36px rgba(0,0,0,.22);
    animation: zh-arrive 160ms var(--zh-ease);
}
#startseite .zh-menu-actions button {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: 100%;
    padding: 10px !important;
    border: 0 !important;
    border-radius: 8px;
    color: #a6adb9 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 11px !important;
    font-weight: 500;
    letter-spacing: 0;
    animation: none;
}
#startseite .zh-menu-actions button:hover { background: rgba(255,255,255,.045) !important; color: #eceef3 !important; }
#startseite .zh-menu-actions .pn-badge { display: none; }
#startseite .zh-focus {
    margin: 0 0 38px;
    padding: 25px 26px 18px;
    border: 1px solid rgba(255,255,255,.065);
    border-radius: 17px;
    background: #101115;
    animation: zh-arrive 380ms var(--zh-ease) 35ms backwards;
    transition: border-color 180ms ease;
}
#startseite .zh-focus:focus-within { border-color: rgba(202,212,234,.2); }
#startseite .zh-focus-label {
    display: block;
    margin-bottom: 12px;
    color: #989faa;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .4px;
}
#startseite #global-strategy {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 84px;
    min-height: 84px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #dde1e8;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: -.4px;
    resize: none;
    outline: none;
    box-shadow: none;
}
#startseite #global-strategy::placeholder { color: #535b68; opacity: 1; }
#startseite #global-strategy:focus { background: transparent; border: 0; box-shadow: none; }
#startseite .zh-focus-foot {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid rgba(255,255,255,.055);
    font-size: 10px;
    line-height: 1.6;
    color: #777f8a;
}
#startseite .zh-focus-hint { color: #555d69; }
#startseite .zh-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
#startseite .zh-section { min-width: 0; animation: zh-arrive 380ms var(--zh-ease) 80ms backwards; }
#startseite .zh-tasks { animation-delay: 120ms; }
#startseite .zh-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}
#startseite .zh-section h2 { margin: 0; font-size: 12px; line-height: 1.6; font-weight: 500; letter-spacing: -.1px; color: #b9c0cb; }
#startseite .zh-text-link {
    padding: 4px 0;
    border: 0;
    background: transparent;
    color: #737c89;
    font-size: 10px;
    font-weight: 400;
    white-space: nowrap;
    cursor: pointer;
    transition: color 160ms ease;
}
#startseite .zh-text-link:hover { color: #d2d8e1; }
#startseite .zh-list { display: grid; }
#startseite .zh-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 72px;
    margin: 0;
    padding: 16px 4px;
    border: 0;
    border-top: 1px solid rgba(255,255,255,.065);
    border-radius: 0;
    text-align: left;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    transition: background 170ms ease, padding 220ms var(--zh-ease);
}
#startseite .zh-row:hover { padding-left: 10px; padding-right: 10px; background: rgba(255,255,255,.025); transform: none; }
#startseite .zh-row-copy { display: grid; gap: 6px; min-width: 0; }
#startseite .zh-row-title { color: #d8dce4; font-size: 12px; font-weight: 500; line-height: 1.6; overflow-wrap: anywhere; }
#startseite .zh-row-sub { color: #717b89; font-size: 10px; font-weight: 400; line-height: 1.5; overflow-wrap: anywhere; }
#startseite .zh-row-end { display: flex; align-items: center; gap: 10px; flex: none; font-size: 10px; font-weight: 400; color: #7f8896; white-space: nowrap; }
#startseite .zh-row-arrow { color: #525d6d; font-size: 13px; transition: color 160ms ease, transform 180ms ease; }
#startseite .zh-row:hover .zh-row-arrow { color: #c6d0e0; transform: translate(1px,-1px); }
#startseite .zh-overdue .zh-row-end { color: #b49a89; }
#startseite .zh-empty { padding: 24px 0; margin: 0; border-top: 1px solid rgba(255,255,255,.065); color: #667080; font-size: 11px; line-height: 1.8; }
#startseite .zh-system { margin-top: 32px; }
#startseite .zh-system > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 8px 0;
    color: #666f7c;
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    list-style: none;
    cursor: pointer;
    transition: color 150ms ease;
}
#startseite .zh-system > summary:hover { color: #b4becd; }
#startseite .zh-details-mark { font-size: 14px; line-height: 1; transition: transform 180ms ease; }
#startseite .zh-system[open] .zh-details-mark { transform: rotate(45deg); }
#startseite .zh-system .dash-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; gap: 14px; margin-top: 16px; animation: zh-arrive 220ms var(--zh-ease); }
#startseite .zh-system .dash-card { grid-row: auto; padding: 20px !important; border-radius: 14px !important; background: #101216 !important; border: 1px solid rgba(255,255,255,.075) !important; box-shadow: none !important; transform: none !important; animation: none; }
#startseite .zh-system .dash-card:hover { transform: none; }
#startseite :is(.zh-row,.zh-text-link,.zh-menu-toggle,.zh-menu-actions button,.zh-system > summary):focus-visible { outline: 2px solid #9aa8bf; outline-offset: 4px; }
@keyframes zh-arrive { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 1000px) {
    #startseite.zh-home { padding: 32px 30px 44px; }
    #startseite .zh-columns { gap: 28px; }
}
@media (max-width: 640px) {
    #startseite.zh-home { padding: 26px 22px 110px !important; }
    #startseite .zh-header { margin-bottom: 30px !important; gap: 12px !important; }
    #startseite .zh-header h1 { font-size: 22px !important; }
    #startseite #date-display { display: block; font-size: 10px !important; }
    #startseite .zh-user { display: none; }
    #startseite .zh-focus { padding: 21px 20px 16px; margin-bottom: 30px; border-radius: 15px; }
    #startseite #global-strategy { height: 100px; min-height: 100px; font-size: 18px; line-height: 1.8; }
    #startseite .zh-focus-foot { gap: 6px; }
    #startseite .zh-focus-hint { font-size: 9px; }
    #startseite .zh-columns { grid-template-columns: 1fr; gap: 30px; }
    #startseite .zh-section-head { margin-bottom: 8px; }
    #startseite .zh-row { min-height: 67px; padding: 14px 2px; }
    #startseite .zh-row-title { font-size: 12px; }
    #startseite .zh-system { margin-top: 25px; }
    #startseite .zh-system .dash-grid { grid-template-columns: 1fr !important; }
}
@media (prefers-reduced-motion: reduce) {
    #startseite.zh-home,
    #startseite.zh-home *,
    #startseite.zh-home *::before,
    #startseite.zh-home *::after { animation: none !important; transition: none !important; }
}
