/**
 * Page frame and a reset scoped to the app root. Selectors use :where() so
 * they stay at one class of specificity and the utilities that follow win.
 */

body.wtofe-settings-app-page #wpcontent {
    padding-left: 0;
}

/* Notices are moved into the app (see WpNotices); hide them until then. */
body.wtofe-settings-app-page #wpbody-content > .notice,
body.wtofe-settings-app-page #wpbody-content > div.updated,
body.wtofe-settings-app-page #wpbody-content > div.error {
    display: none;
}

.wtofe-app {
    font-family: var(--wtofe-font-sans);
    font-size: 14px;
    line-height: 1.5;
    color: var(--wtofe-color-ink);
    -webkit-font-smoothing: antialiased;
}

.wtofe-app :where(*, ::before, ::after) {
    box-sizing: border-box;
}

.wtofe-app :where(h1, h2, h3, h4, p, ul, ol, li, dl, dd, figure) {
    margin: 0;
    padding: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}

.wtofe-app :where(ul, ol) {
    list-style: none;
}

.wtofe-app :where(button) {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

.wtofe-app :where(table) {
    width: 100%;
    border-collapse: collapse;
}

.wtofe-app :where(th) {
    font-weight: 600;
    text-align: left;
}

.wtofe-app :where(a) {
    font-weight: 500;
    color: var(--wtofe-color-primary);
    text-decoration: none;
}

.wtofe-app :where(a:hover, a:focus) {
    color: var(--wtofe-color-primary-dark);
    text-decoration: underline;
}

.wtofe-app :where(code) {
    padding: 1px 5px;
    font-family: var(--wtofe-font-mono);
    font-size: 12px;
    background: var(--wtofe-color-primary-light);
    border-radius: 3px;
}
