* { box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    margin: 0;
    background: #f4f4f2;
    color: #222;
}
.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #fff;
    border-bottom: 1px solid #e2e2e0;
    position: sticky;
    top: 0;
}
.topbar h1 { font-size: 17px; font-weight: 600; margin: 0; }
.topbar button, .icon-btn {
    background: none; border: none; font-size: 22px; cursor: pointer; padding: 4px 8px;
    color: #333;
}
.container { max-width: 480px; margin: 0 auto; padding: 16px; padding-bottom: 100px; }
.empty-state {
    text-align: center; color: #888; margin-top: 80px; font-size: 15px;
}
.tiles {
    display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
.tile {
    background: #fff; border: 1px solid #e2e2e0; border-radius: 12px;
    padding: 16px; text-align: center; cursor: pointer;
}
.tile:active { background: #eee; }
.avatar {
    width: 44px; height: 44px; border-radius: 50%; background: #dbe7f7;
    color: #1b5faa; display: flex; align-items: center; justify-content: center;
    font-weight: 600; margin: 0 auto 8px; font-size: 15px;
}
.tile .name { font-weight: 600; font-size: 14px; margin: 0; }
.tile .program { font-size: 12px; color: #888; margin: 2px 0 0; }
.fab {
    position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px;
    border-radius: 50%; background: #1b5faa; color: #fff; font-size: 26px;
    border: none; box-shadow: 0 2px 8px rgba(0,0,0,0.2); cursor: pointer;
}
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center; z-index: 50;
}
.modal {
    background: #fff; border-radius: 14px; padding: 20px; width: 90%; max-width: 400px;
    max-height: 85vh; overflow-y: auto;
}
.modal h2 { font-size: 16px; margin: 0 0 16px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.field input, .field select {
    width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 8px; font-size: 15px;
}
.btn-row { display: flex; gap: 10px; margin-top: 8px; }
.btn {
    flex: 1; padding: 12px; border-radius: 8px; border: 1px solid #ddd; background: #fff;
    font-size: 15px; cursor: pointer;
}
.btn-primary { background: #1b5faa; color: #fff; border: none; }
.hidden { display: none; }
