/* V2 list and personal tool pages. */
body.ms-v2 .ms-v2-lists-page {
    gap: 14px;
}

body.ms-v2 .ms-v2-list-hero {
    display: grid;
    gap: 7px;
    margin-bottom: 4px;
}

body.ms-v2 .ms-v2-list-hero h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 58px);
}

body.ms-v2 .ms-v2-list-toolbar,
body.ms-v2 .ms-v2-list-filter {
    width: 100%;
    margin: 0 0 12px !important;
    padding: 12px 14px;
}

body.ms-v2 .ms-v2-list-toolbar > [class*="col-"],
body.ms-v2 .ms-v2-list-react-shell > [class*="col-"] {
    float: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

body.ms-v2 .ms-v2-list-note {
    display: block;
    max-width: 900px;
    color: var(--ms-ink-2);
    font-size: 14px;
    line-height: 1.55;
}

body.ms-v2 .ms-v2-list-table-shell,
body.ms-v2 .ms-v2-list-react-shell {
    width: 100%;
    margin: 0 !important;
    padding: 12px;
}

body.ms-v2 .ms-v2-list-table-shell > [class*="col-"] {
    float: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
}

body.ms-v2 .ms-v2-list-table {
    width: 100%;
    margin: 0 !important;
    padding: 10px;
    overflow-x: auto;
}

body.ms-v2 .ms-v2-my-searches-page #searchresults {
    min-width: 1180px;
}

body.ms-v2 .ms-v2-my-searches-page #searchresults a {
    color: var(--ms-accent);
    font-family: "IBM Plex Sans", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
}

body.ms-v2 .ms-v2-my-searches-page .ItemName,
body.ms-v2 .ms-v2-my-searches-page .addList {
    min-width: 0;
}

body.ms-v2 .ms-v2-my-searches-page .iconSized,
body.ms-v2 .ms-v2-my-searches-page .icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    vertical-align: middle;
}

body.ms-v2 .ms-v2-my-searches-page input.copy_button {
    width: 16px;
    height: 16px;
    margin-left: 7px;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
}

body.ms-v2 .ms-v2-list-react-panel {
    width: 100%;
    min-height: 180px;
    margin: 0 !important;
    padding: 14px;
    overflow-x: auto;
}

body.ms-v2 .ms-v2-list-react-panel:empty::before {
    display: block;
    color: var(--ms-ink-3);
    content: "Loading...";
    font-family: "JetBrains Mono", "Consolas", monospace;
    font-size: 12px;
}

body.ms-v2 .ms-v2-list-react-panel input,
body.ms-v2 .ms-v2-list-react-panel select,
body.ms-v2 .ms-v2-list-react-panel textarea {
    max-width: 100%;
}

body.ms-v2 .ms-v2-list-react-panel table {
    min-width: 760px;
}

body.ms-v2 .ms-v2-list-react-panel a {
    color: var(--ms-accent);
    font-weight: 700;
}

body.ms-v2 .NoDisplay {
    display: none !important;
}

@media (max-width: 760px) {
    body.ms-v2 .ms-v2-list-toolbar,
    body.ms-v2 .ms-v2-list-filter,
    body.ms-v2 .ms-v2-list-table-shell,
    body.ms-v2 .ms-v2-list-react-shell,
    body.ms-v2 .ms-v2-list-react-panel {
        padding: 12px;
    }

    body.ms-v2 .ms-v2-list-toolbar form,
    body.ms-v2 .ms-v2-list-filter form,
    body.ms-v2 .ms-v2-list-toolbar select,
    body.ms-v2 .ms-v2-list-filter select {
        width: 100%;
    }
}
