.mock-shell {
    min-height: 100vh;
    color: #182230;
    background: #f7f9fc;
    font-family: "DM Sans", system-ui, sans-serif;
}

.mock-shell__account-bar {
    min-height: 42px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    padding: 6px 20px;
    border-bottom: 1px solid #b6bdc7;
    background: linear-gradient(#efefef, #d5d5d5);
    font-size: 13px;
}

.mock-shell__account-bar form { margin: 0; }
.mock-shell__account-bar button {
    padding: 0;
    border: 0;
    background: none;
    color: #174fa5;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}
.mock-shell__account-bar button:hover { color: #0d3679; }
.mock-shell__account-bar button:focus-visible,
.mock-shell__navigation a:focus-visible,
.mock-shell__navigation button:focus-visible,
.mock-shell__navigation summary:focus-visible {
    outline: 2px solid #2b67c4;
    outline-offset: 2px;
}

.mock-shell__section-bar {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: 32px;
    align-items: center;
    background: #4c78bf;
    color: white;
    font-size: 13px;
}
.mock-shell__section-bar > * { padding: 6px 14px; }
.mock-shell__section-bar > :first-child { border-right: 1px solid #7296cf; }

.mock-shell__workspace {
    display: grid;
    grid-template-columns: 250px minmax(0, 1fr);
    min-height: calc(100vh - 74px);
}
.mock-shell__sidebar {
    min-width: 0;
    padding: 14px 9px;
    border-right: 1px solid #d5dce6;
    background: #fbfcfe;
}
.mock-shell__content { min-width: 0; background: white; }

.mock-shell__navigation a { color: #20354f; text-decoration: none; }
.mock-shell__tenant-link {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 5px;
    font-size: 13px;
}
.mock-shell__tenant-link:hover,
.mock-shell__company-pages :is(a, button):hover { background: #e8eef8; }
.mock-shell__tenant-link.is-active,
.mock-shell__company-pages :is(a, button).is-active {
    background: #dce9ff;
    color: #164b9b;
    font-weight: 600;
}

.mock-shell__navigation details { min-width: 0; }
.mock-shell__navigation summary {
    display: flex;
    align-items: center;
    min-width: 0;
    list-style: none;
    cursor: pointer;
}
.mock-shell__navigation summary::-webkit-details-marker { display: none; }
.mock-shell__navigation summary::before {
    content: "▸";
    flex: 0 0 16px;
    color: #43658f;
    font-size: 13px;
}
.mock-shell__navigation details[open] > summary::before { content: "▾"; }
.mock-shell__companies { margin-top: 16px; }
.mock-shell__companies > summary {
    padding: 9px 10px;
    border-bottom: 1px solid #e0e6ef;
    font-size: 13px;
    font-weight: 700;
}
.mock-shell__company-list {
    max-height: max(180px, calc(100vh - 210px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 5px 4px 0 13px;
    scrollbar-color: #a8b8cf transparent;
    scrollbar-width: thin;
}
.mock-shell__company-list:focus-visible {
    outline: 2px solid #2b67c4;
    outline-offset: -2px;
}
.mock-shell__company-list::-webkit-scrollbar { width: 8px; }
.mock-shell__company-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: #a8b8cf;
}
.mock-shell__company > summary {
    overflow: hidden;
    padding: 7px 7px;
    border-radius: 5px;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mock-shell__company > summary:hover { background: #edf2f9; }
.mock-shell__company.is-selected > summary { color: #164b9b; font-weight: 600; }
.mock-shell__company-pages {
    margin: 1px 0 6px 15px;
    padding-left: 8px;
    border-left: 1px dotted #9fb4d0;
}
.mock-shell__company-pages :is(a, button) {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 9px;
    border-radius: 5px;
    font-size: 12px;
}
.mock-shell__company-error,
.mock-shell__company-empty {
    margin: 8px;
    font-size: 12px;
    line-height: 1.5;
}
.mock-shell__company-error { color: #a12626; }
.mock-shell__company-empty { color: #64748b; }

@media (max-width: 680px) {
    .mock-shell__section-bar,
    .mock-shell__workspace { grid-template-columns: 1fr; }
    .mock-shell__section-bar > :first-child { display: none; }
    .mock-shell__workspace { min-height: calc(100vh - 74px); }
    .mock-shell__sidebar { border-right: 0; border-bottom: 1px solid #d5dce6; }
    .mock-shell__company-list { max-height: 45vh; }
}

.mock-shell__company-pages form { margin: 0; }
.mock-shell__company-pages button {
    width: 100%;
    border: 0;
    background: none;
    color: #20354f;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
}

.mock-login {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: clamp(24px, 5vw, 64px);
    background: radial-gradient(circle at 50% 100%, #edf3fc 0%, #f8faff 44%, #fff 84%);
    color: #182230;
    font-family: "DM Sans", system-ui, sans-serif;
}
.mock-login * { box-sizing: border-box; }
.mock-login__content {
    width: min(100%, 920px);
    display: grid;
    justify-items: center;
}
.mock-login__intro {
    margin-bottom: 36px;
    text-align: center;
}
.mock-login__intro h1 {
    margin: 0;
    font-size: clamp(36px, 3.4vw, 48px);
    font-weight: 300;
    letter-spacing: -0.035em;
    line-height: 1.15;
}
.mock-login__intro p {
    margin: 16px 0 0;
    color: #5b6b80;
    font-size: 17px;
    line-height: 1.5;
}
.mock-login__card {
    width: min(100%, 460px);
    padding: 34px 36px;
    border: 1px solid #dce5f0;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 52px rgb(24 47 89 / 9%);
}
.mock-login__card h2 {
    margin: 0 0 9px;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -0.015em;
}
.mock-login__card p {
    margin: 0 0 22px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.55;
}
.mock-login__card form { margin: 0; }
.mock-login label { display: block; margin: 18px 0 7px; font-size: 13px; font-weight: 600; }
.mock-login select { width: 100%; min-height: 42px; padding: 9px 11px; border: 1px solid #cbd6e2; border-radius: 7px; background: #fff; color: #182230; font: inherit; }
.mock-login select:focus-visible, .mock-login button:focus-visible { outline: 2px solid #4f8ef7; outline-offset: 2px; }
.mock-login__error { padding: 10px 12px; border: 1px solid #f3b8b8; border-radius: 7px; background: #fff1f1; color: #a12626; font-size: 13px; }
.mock-login button { width: 100%; min-height: 44px; margin-top: 22px; border: 0; border-radius: 7px; background: #3474cf; color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.mock-login button:hover { background: #2763b7; }
.mock-login button:disabled { opacity: .55; cursor: not-allowed; }
@media (max-width: 480px) {
    .mock-login { padding: 20px; }
    .mock-login__intro { margin-bottom: 28px; }
    .mock-login__intro p { font-size: 15px; }
    .mock-login__card { padding: 28px 24px; }
}
