body{
    font-family: Arial, sans-serif;
    background:#f2f2f7;
    margin:0;
    color:#111;
}

*{
    box-sizing:border-box;
}

.app{
    max-width:500px;
    margin:auto;
    padding:10px;
    padding-bottom:90px;
}

h1{
    font-size:26px;
    margin:10px 0 14px;
}

input,
textarea{
    width:100%;
    padding:12px;
    border-radius:12px;
    border:none;
    outline:none;
    background:white;
    font-size:16px;
    margin-bottom:10px;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

textarea{
    min-height:110px;
    resize:vertical;
}

.keyboard{
    display:flex;
    overflow:auto;
    padding-bottom:6px;
    margin-bottom:10px;
    scrollbar-width:none;
}

.keyboard::-webkit-scrollbar{
    display:none;
}

button{
    padding:10px 14px;
    margin:5px;
    border:none;
    border-radius:10px;
    background:black;
    color:white;
    cursor:pointer;
    font-size:15px;
}

.card{
    background:white;
    padding:15px;
    margin:10px 0;
    border-radius:12px;
    cursor:pointer;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

.word{
    color:#007aff;
    font-size:20px;
    font-weight:700;
}

.sub{
    color:#666;
    margin-top:6px;
    font-size:14px;
}

.empty{
    background:white;
    padding:16px;
    border-radius:12px;
    color:#666;
    text-align:center;
    margin-top:10px;
}

.modal{
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    background:rgba(0,0,0,0.5);
    display:flex;
    align-items:center;
    justify-content:center;
    padding:15px;
    z-index:1000;
}

.modalBox{
    background:white;
    padding:20px;
    border-radius:16px;
    width:100%;
    max-width:420px;
    box-shadow:0 10px 30px rgba(0,0,0,0.18);
}

.modalBox h2{
    margin-top:0;
}

.modalBox ul{
    padding-left:20px;
}

.tabs{
    position:fixed;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:100%;
    max-width:500px;
    display:flex;
    background:white;
    border-top:1px solid #e5e5ea;
    z-index:999;
}

.tabs button{
    flex:1;
    margin:0;
    border-radius:0;
    background:white;
    color:#111;
    padding:14px 10px;
    font-weight:700;
}

.tabs button.active{
    color:#007aff;
}

.primaryBtn{
    width:100%;
    margin:10px 0 0;
    background:#007aff;
    color:white;
}

.secondaryBtn{
    background:#111;
    color:white;
}

.note{
    background:white;
    padding:14px;
    border-radius:12px;
    line-height:1.45;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
}

.status{
    margin-top:10px;
    padding:10px 12px;
    border-radius:10px;
    background:#e9f3ff;
    color:#0a4ea3;
    font-size:14px;
}

.hidden{
    display:none;
}

.contactLink{
    display:inline-block;
    margin-top:8px;
    color:#007aff;
    text-decoration:none;
    word-break:break-word;
    font-weight:700;
}