/* SPDX-License-Identifier: AGPL-3.0-only */
@font-face{font-family:"MyOS Latin";src:url('/fonts/ui-regular.woff2') format('woff2');font-style:normal;font-weight:400;font-display:block}
@font-face{font-family:"MyOS Latin";src:url('/fonts/ui-bold.woff2') format('woff2');font-style:normal;font-weight:500 900;font-display:block}
@font-face{font-family:"MyOS CJK";src:url('/fonts/cjk.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:block}
@font-face{font-family:"MyOS Notes";src:url('/fonts/notes-latin.woff2') format('woff2');font-style:normal;font-weight:100 900;font-display:block}
@font-face{font-family:"MyOS Mono";src:url('/fonts/mono.woff2') format('woff2');font-style:normal;font-weight:200 700;font-display:block}
:root{
    font-size:16px!important;
    line-height:1.25;
    color-scheme:only light;
    --mobile-bar-title:700 calc(20px * var(--myos-text-correction, 1))/24px "MyOS Latin","MyOS CJK";
    --mobile-bar-button:700 calc(12px * var(--myos-text-correction, 1))/12px "MyOS Latin","MyOS CJK";
}
html,body{font-size:16px;line-height:1.25}
*,*::before,*::after{
    font-family:"MyOS Latin","MyOS CJK"!important;
    -webkit-text-size-adjust:none!important;
    text-size-adjust:none!important;
    font-size-adjust:none;
    font-synthesis:none;
    font-optical-sizing:none;
}
:where(button,input,textarea,select,optgroup,option){font-size:16px;line-height:1.25;font-weight:400;letter-spacing:normal;color:inherit}
:where(input,textarea,select){color:#1b2430;background-color:#fff}
:where(input:not([type=range]):not([type=checkbox]):not([type=radio]),textarea,select){-webkit-appearance:none;appearance:none;border-radius:4px}
:where(input[type=checkbox],input[type=radio]){appearance:none;box-sizing:border-box;display:inline-grid;place-content:center;width:22px;height:22px;margin:3px;border:1px solid #8291a4;border-radius:4px;background:#fff linear-gradient(#fff2,#0001);vertical-align:middle;flex-shrink:0;transition:background-color 160ms ease,border-color 160ms ease,box-shadow 160ms ease}
:where(input[type=radio]){border-radius:50%}
:where(input[type=checkbox]:checked,input[type=radio]:checked){background-color:#2d76bd;border-color:#3b628b}
:where(input[type=checkbox])::after{content:'✓';color:#fff;font-size:17px;line-height:20px;font-weight:700;opacity:0;transform:scale(.6);transition:opacity 160ms ease,transform 160ms ease}
:where(input[type=radio])::after{content:'';width:8px;height:8px;border-radius:50%;background:white;opacity:0;transform:scale(.6);transition:opacity 160ms ease,transform 160ms ease}
:where(input[type=checkbox]:checked,input[type=radio]:checked)::after{opacity:1;transform:scale(1)}
:where(input[type=checkbox]:disabled,input[type=radio]:disabled){opacity:.5}
#note-editor,.note-title{font-family:"MyOS Notes","MyOS CJK"!important}
.document-editor,pre,code,kbd,samp{font-family:"MyOS Mono","MyOS CJK"!important}
.myos-font-loading,.myos-font-error{margin:0;padding:24px 16px;color:#d9e2ed;background:#0b1423;font-size:14px;line-height:21px}
